...

View Full Version : how to unchecked checkbutton



charon
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!

mordred
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;



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum