View Full Version : how to unchecked checkbutton

07-10-2002, 09:56 AM
when reset button is pressed, i want the checkbox which has already "checked" by user to be "unchecked".

I try to use:

document.frm.Check.checked==false, but it failed to unchecked the checkbox, please help!

07-10-2002, 10:12 AM
That's a logical comparison, not the assignment of a new value. In other words, you've got one "=" too much.

document.frm.Check.checked = false;