467,073 Members | 1,325 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,073 developers. It's quick & easy.

how to make a textbox readonly using CSS

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

.textboxstyle
{
readonly: true;
}

but this wont work... :(


Anybody pls help me... :(
Mar 30 '07 #1
  • viewed: 18548
Share:
1 Reply
KevinADC
Expert 2GB
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.

Similar topics

5 posts views Thread by pv_kannan@yahoo.com | last post: by
3 posts views Thread by Angela Chen | last post: by
3 posts views Thread by Lyners | last post: by
2 posts views Thread by Eric | last post: by
3 posts views Thread by rn5a@rediffmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.