input ckecked jquery if this code example
Example 1: jquery in checkbox checked
// Check a checkbox
$(selector).prop('checked', true);
// Un-check a checkbox
$(selector).prop('checked', false);
// Determine if checked or not
isChecked = $(selector).prop('checked');
Example 2: jquery check if checkbox is checked
if($('#on_or_off_checkbox').is(':checked')){
//I am checked
}