How to check if a checkbox is checked or not in jquery

Syntax:

if ( $("#checkboxID").prop('checked') == true) {
	alert("Checkbox checked");
}

A checkbox Object has a property called checked. That can be tested by jquery to see if the check if the checkbox is selected by the user.

References:

jQuery API