how to check if a checkbox is uncin jquery code example
Example 1: checkbox is checked jquery
$(your_checkbox).is(':checked');
Example 2: how to check input is selected or not
$('#' + id).is(":checked")
$(your_checkbox).is(':checked');
$('#' + id).is(":checked")