Answers for "checked a checkbox in jquery"

9

Setting “checked” for a checkbox with jQuery

$('.myCheckbox').prop('checked', true);
$('.myCheckbox').prop('checked', false);
Posted by: Guest on May-19-2020
1

how get checkbox if checked in jquery

if($("#rule").is(":checked")){
    $("#form").submit();
 }
Posted by: Guest on February-04-2021

Code answers related to "checked a checkbox in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language