Faqts : Computers : Programming : Languages : JavaScript : Forms : TextAreas/TextFields

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

33 of 44 people (75%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Can I use readonly or disabled attributes of text boxes (input type="text") on NN4 ?

Oct 24th, 2000 21:18
Tim Powell, DUY DO PHAN,


Unfortunately, Netscape 4 does not support the readonly or disabled 
attributes of form elements. You can work around these limitations.
For text fields that will be permanently disabled or readonly, the 
obvious thing to do is to display the information outside of a text 
field in a <P> paragraph tag.
For fields that need to change state dynamically, you can use the 
onFocus event, the blur method and scripting to block typing and editing 
of the fields.
See
http://www.faqts.com/knowledge-base/view.phtml/aid/868/fid/130/lang