Answers for "all checkbox trigger in div using jquery"

-1

checkbox on click jquery select all

$("#checkAll").click(function(){
    $('input:checkbox').not(this).prop('checked', this.checked);
});
Posted by: Guest on October-03-2020
0

jquery select all checkboxes

//html 
<input type="checkbox" onclick="CheckAll(this)" id="checkboxAll" title="Select All" />
//jquery
function CheckAll(elem) {
   $('[name="checkbox"]').prop("checked", $(elem).prop('checked'));
 }
Posted by: Guest on January-05-2022

Code answers related to "all checkbox trigger in div using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language