checkbox unchecked javascript code example
Example 1: javascript check uncheck checkbox
document.getElementById("myCheckBoxID").checked = true;
document.getElementById("myCheckBoxID").checked = false;
Example 2: fill checkbox javascript
document.getElementById("checkbox").checked = true;
document.getElementById("checkbox").checked = false;
Example 3: uncheck a checkbox in javascript
document.getElementById("checkbox").checked = true;
document.getElementById("checkbox").checked = false;
Example 4: checked unchecked through js
document.getElementById("checkbox_id").checked;