Thursday, February 24, 2011

Javascript Enable or Disable control on CheckBox checked

If you want to enable disable asp.net controls on click event of checkbox control then here is the solution.
The solution will work for any control.
What we have to do is, just get the controls to be enable and disabled using getElementById by putting their client id as an argument.


Javascript:-
javascript called by checkbox given below.

CheckBox control calling javascript.



No comments:

Post a Comment