Saturday, February 27, 2010

What is the code to 'uncheck' a check box when the button 'clear' is pressed.?

For instance to clear a text box its:


me.txtInput.Clear()


But i dont no how i can uncheck a box if a user has ticked it using a clear button.





Anyone know the code?


ThanksWhat is the code to 'uncheck' a check box when the button 'clear' is pressed.?
getElementById(checkbox.id)


.checked = ';';;


To clear it


getElementById(checkbox.id)


.checked = ';checked';;


To check it.





I had to split the line so Yahoo doesn't cut it off.

No comments:

Post a Comment