display error message on checkbox is not checked jquery 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
}