This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 70
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: 70
Once again thank you komal...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: disabling text field after clicking on the checkbox
 
Similar Threads
Check box (if checks) validation on text field
Disable Copy/Paste in a Textbox
Previous Text Fileld Value has to be Passed while curser is on currect text field.
Dropdown selection
Java Script