Answers for "how to verify if a input checkbox is checked or not"

4

jquery check if checkbox is not checked

if (!$("#checkboxID").is(":checked")) {
    // do something if the checkbox is NOT checked
}
Posted by: Guest on May-07-2020
2

checkbox is not getting checked

<input type="checkbox" name="free" value="mon09" onClick="this.checked=!this.checked;">
Posted by: Guest on May-07-2021

Code answers related to "how to verify if a input checkbox is checked or not"

Code answers related to "Javascript"

Browse Popular Code Answers by Language