![]() |
|
|
|
#1 |
|
Is it possible to disable editing of a text area? I have a text area which,
under some circumstances I want the user to be permitted to edit, but not others. How do you guys typically handle that? Thanks, Ike Ike |
|
|
|
|
#2 |
|
Posts: n/a
|
> Is it possible to disable editing of a text area? I have a text area
> which, under some circumstances I want the user to be permitted to > edit, but not others. <textarea readonly> readonly textarea </textarea> <textarea> editable textarea </textarea> -- Edward Alfert - http://www.rootmode.com/ Discount Code (Recurring 25% Off): newsgroup Multiple Domain Hosting * Reseller Hosting Free IP Addresses * Private Label Nameservers |
|
|
|
#3 |
|
Posts: n/a
|
Add the word Readonly to your textarea
Desmond. |
|
|
|
#4 |
|
Posts: n/a
|
Ike wrote:
> Is it possible to disable editing of a text area? I have a text area which, > under some circumstances I want the user to be permitted to edit, but not > others. > > How do you guys typically handle that? If I don't want it to be editable, I don't put it in a text area. Why does is have to be one? |
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2007
Posts: 1
|
readonly has to be give a true/false parameter ie.
<textarea readonly="true"></textarea> or it won't validate ps. using text areas allows scrollable text within the confines of the text box |
|
|
|