Answers for "how to access the checkbox using jquery"

9

jquery check checkbox

$('.myCheckbox').prop('checked', true);
$('.myCheckbox').prop('checked', false);
Posted by: Guest on May-19-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 "how to access the checkbox using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language