Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

disabling text field after clicking on the checkbox

 
Mohan Mehra
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thanks and Regards,
-------------------------------------------------------------------------------------
Komal Renu | krenu@infocepts.com | www.infocepts.com
-------------------------------------------------------------------------------------
 
Mohan Mehra
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once again thank you komal...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic