Answers for "check one checkbox at a time jquery"

9

check checkbox by jquery

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

check a checkbox jquery

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

check checkbox by jquery

$('.myCheckbox')[0].checked = true;
$('.myCheckbox')[0].checked = false;
Posted by: Guest on September-04-2020
0

check one checkbox at a time jquery

$(document).on('click', 'input[type="checkbox"]', function() {      
    $('input[type="checkbox"]').not(this).prop('checked', false);      
});
Posted by: Guest on October-12-2021

Code answers related to "check one checkbox at a time jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language