jquery input is checked 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: is checked jquery
.is(':checked')
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}
.is(':checked')