uncheck a checkbox in javascript code example
Example 1: uncheck a checkbox in javascript
// Check
document.getElementById("checkbox").checked = true;
// Uncheck
document.getElementById("checkbox").checked = false;
Example 2: checked unchecked through js
document.getElementById("checkbox_id").checked;
//If checked returns true;
//else returns false;