This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes disabling text field after clicking on the checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disabling text field after clicking on the checkbox" Watch "disabling text field after clicking on the checkbox" New topic
Author

disabling text field after clicking on the checkbox

Mohan Mehra
Ranch Hand

Joined: Jul 28, 2011
Posts: 72
say i have a text field and a checkbox. when i type something in the text filed and click on checkbox i should not be able to edit whatever is there in the text filed.
how do i do this? using javascript. and also when i uncheck the checkbox the text field should be editable
Komal Renu
Ranch Hand

Joined: Jul 21, 2011
Posts: 51


Thanks and Regards,
-------------------------------------------------------------------------------------
Komal Renu | krenu@infocepts.com | www.infocepts.com
-------------------------------------------------------------------------------------
Mohan Mehra
Ranch Hand

Joined: Jul 28, 2011
Posts: 72
Once again thank you komal...
 
Have you checked out Aspose?
 
subject: disabling text field after clicking on the checkbox
 
jQuery in Action, 3rd edition