By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,739 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,739 IT Pros & Developers. It's quick & easy.

how to make a textbox readonly using CSS

P: 1
hi all,
actually i want to make a textbox readonly...
dynamically i want to change the textbox readonly and editable..
so is there any way i can specify in the style, this readonly property, and can change the style dynamically.

actually i need to specify like

readonly: true;

but this wont work... :(

Anybody pls help me... :(
Mar 30 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,059
to dynamically change it I suspect you will need to incorporate some javascript code. But I don't know how myself. Since this is really DHTML ask in that forum.
Mar 30 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.