jquery check checkbox checked or not in if condition code example
Example: jquery check if checkbox is not checked
if (!$("#checkboxID").is(":checked")) {
// do something if the checkbox is NOT checked
}
if (!$("#checkboxID").is(":checked")) {
// do something if the checkbox is NOT checked
}