jquery set checkbox checked not working 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
}