remove checked and add checked one item at a time 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;