input ckecked jquery code example
Example 1: jquery is checked
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}
Example 2: checkbox set checked jquery
.prop('checked', true);
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}
.prop('checked', true);