how to know the first checkbox is checked or not in jquery code example
Example 1: jquery checkbox checked
$("checkbox").is(":checked")
Example 2: check checkbox by jquery
$('.myCheckbox')[0].checked = true;
$('.myCheckbox')[0].checked = false;
$("checkbox").is(":checked")
$('.myCheckbox')[0].checked = true;
$('.myCheckbox')[0].checked = false;