change checkbox status with javascript code example
Example: checked unchecked through js
document.getElementById("checkbox_id").checked;
//If checked returns true;
//else returns false;
document.getElementById("checkbox_id").checked;
//If checked returns true;
//else returns false;