Answers for "how to change status of checkbox using jquery"

0

change checkbox jquery alert

$('#checkbox1').mousedown(function() {
    if (!$(this).is(':checked')) {
        this.checked = confirm("Are you sure?");
        $(this).trigger("change");
    }
});
Posted by: Guest on September-23-2020
1

how to change checkbox state in jquery

$('[name="SelectedGroup"]').prop('checked', true);
Posted by: Guest on December-17-2020

Code answers related to "how to change status of checkbox using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language