A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How To Set All the Textfields in a Web Page to READONLY?
Joined: Nov 19, 2000
Apr 03, 2007 10:45:00
I understand that if I put READONLY in the <input type="text" .... /> tag, it does the work.
I am going to populated all the textfields in a web page from the database and all those textfields will be READONLY. Is there an easy way to control all the textfields by one statement?
Author and ninkuma
Joined: Jan 10, 2002
Apr 03, 2007 12:18:00
Not in HTML, no.
Asking smart questions
Books by Bear
It is sorta covered in the
JavaRanch Style Guide
subject: How To Set All the Textfields in a Web Page to READONLY?
Can the color for the disabled item be changed
Enumeration Object problem
Custom Component ELResolveJSF 1.2
Visual JSF, checkbox and Textfield behavior
how to encode query string.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015