Answers for "checkbox selector in jquery"

9

check a checkbox jquery

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

jquery checkbox

if($("#isAgeSelected").is(':checked'))
    $("#txtAge").show();  // checked
else
    $("#txtAge").hide();  // unchecked
Posted by: Guest on November-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language