get checkbox by id jquery code example
Example 1: jquery checkbox
if($("#isAgeSelected").is(':checked'))
$("#txtAge").show(); // checked
else
$("#txtAge").hide(); // unchecked
Example 2: check checkbox by jquery
$('.myCheckbox')[0].checked = true;
$('.myCheckbox')[0].checked = false;