Would like to make "the check / uncheck" selectall box
var elems = tab.getElementsByTagName("input");
for (var i = 0; i < 9; i++) {
if (elems[i].type == "checkbox") {
elems[i].checked = true;
}
}
it can be "check" to select all boxes only but cannot unselect can someone
help me to add the check / uncheck all on this code?
No comments:
Post a Comment