checked and unchecked exception in 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;