Web Analytics Made Easy -
StatCounter how to unchecked checkbutton - CodingForum

Announcement

Collapse
No announcement yet.

how to unchecked checkbutton

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to unchecked checkbutton

    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!

  • #2
    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;
    De gustibus non est disputandum.

    Comment

    Working...
    X