how to check checkbox in jquery if condition using name 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")
$(your_checkbox).is(':checked');
$('#' + id).is(":checked")