Answers for "how to do when check box is checked then jquery validation will apply other not"

2

jquery detect when a checkbox is checked

$(".checkbox").change(function() {
    if(this.checked) {
        //Do stuff
    }
});
Posted by: Guest on October-06-2020
5

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

Code answers related to "how to do when check box is checked then jquery validation will apply other not"

Code answers related to "Javascript"

Browse Popular Code Answers by Language