Answers for "How can to locate all selected checkboxes by using the jQuery selector?"

0

select all checkboxes jquery

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

select all checkbox jquery

$('#select_all').change(function() {
  var checkboxes = $(this).closest('form').find(':checkbox');
  checkboxes.prop('checked', $(this).is(':checked'));
});
Posted by: Guest on March-15-2021

Code answers related to "How can to locate all selected checkboxes by using the jQuery selector?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language