jQuery input:checked code example
Example 1: jquery selector checked
$("input:checked")
Example 2: jquery is checked
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}
$("input:checked")
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}