Answers for "checkbox in jq"

9

check checkbox by jquery

$('.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 "Javascript"

Browse Popular Code Answers by Language