|
|
Q799 Is it possible to have read only text in a text field?
irt.org | Knowledge Base | JavaScript | Form 3.6 | Q799 [ previous next ] Q799 Is it possible to have read only text in a text field?Only with browsers that support HTML 4.0, currently Internet Explorer 4+ and Netscape Navigator 6+, with:
You can use JavaScript (in Internet Explorer 4) to set the value of the readOnly attribute:
Take a look at the article at http://www.developer.com/journal/techworkshop/webb2/111798_form.html for more techniques of write protecting form fields. Feedback on 'Q799 Is it possible to have read only text in a text field?' |
-- div -->
|