Answers for "jqery checkbox auto checked"

9

Setting “checked” for a checkbox with jQuery

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

jquery uncheck checkbox

$('#myCheckbox').prop('checked', true); // Checks it
$('#myCheckbox').prop('checked', false); // Unchecks it
Posted by: Guest on January-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language