has checked jquery code example
Example 1: How do I check whether a checkbox is checked in jQuery?
$('#' + id).is(":checked")
Example 2: jquery is checked
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}
Example 3: is checked jquery
.is(':checked')