Changing a checkbox's state programmatically in dashcode
Posted
by Daniel
on Stack Overflow
See other posts from Stack Overflow
or by Daniel
Published on 2010-03-21T21:33:55Z
Indexed on
2010/03/21
21:41 UTC
Read the original article
Hit count: 1092
Okay, so I'm trying to change a checkbox's state programmatically in dashcode. I've tried:
var checkbox = document.getElementById("checkbox");
// I have tried all the following methods.
checkbox.checked = false;
checkbox.selected = false;
checkbox.value = false;
© Stack Overflow or respective owner