how to check if a check box is check jquery code example
Example 1: checkbox is checked jquery
$(your_checkbox).is(':checked');
Example 2: How do I check whether a checkbox is checked in jQuery?
$('#' + id).is(":checked")
Example 3: how to check input is selected or not
var $boxes = $('input[name=thename]:checked');