Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

Allowing scrolling but no alteration of text.

I have a situation where, depending on who is viewing the page, a multi-line textarea object may be disabled. This also disables the scroll bar, but I would like the scroll bar to still be usable where the textarea contents exceed the size of the textarea object.
0
WhiteEagle
Asked:
WhiteEagle
  • 5
  • 4
1 Solution
 
seanpowellCommented:
Just set the text to read-only:

<form>
<textarea rows="3" name="S1" cols="20" readonly="true">This textarea has a lot of text to make it scroll. This textarea has a lot of text to make it scroll.</textarea>
</form>
0
 
WhiteEagleAuthor Commented:
Thnak you
0
 
seanpowellCommented:
Why a grade of C?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
WhiteEagleAuthor Commented:
What should it be?
0
 
seanpowellCommented:
If the comment answered your question it should be an A...
0
 
WhiteEagleAuthor Commented:
I thought it was based on the complexity of the solution, I'm sorry.
0
 
seanpowellCommented:
That's okay - I'll post a request in CS to modify...

Thanks,
seanpowell
0
 
WhiteEagleAuthor Commented:
Thats OK. I misunderstood the grading system. It should have been graded as an A
0
 
RomModCommented:
Hello, WhiteEagle

I have adjusted the grade accordingly.

RomMod
Community Support Moderator
0
 
seanpowellCommented:
Thanks all... sorry for the extra work.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now