Answers for "How to declare checkbox in jquery"

9

check a checkbox jquery

$('#grepperRocks').prop('checked', true);
Posted by: Guest on March-17-2020
0

check box jquery

if(document.getElementById('isAgeSelected').checked) {
    $("#txtAge").show();
} else {
    $("#txtAge").hide();
}
Posted by: Guest on June-02-2021

Code answers related to "How to declare checkbox in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language