:checked and is(:checked) difference 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;