• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How To Set All the Textfields in a Web Page to READONLY?

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thank you.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65126
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not in HTML, no.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic