Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select all checkbox jquery

$('#select_all').change(function() {
  var checkboxes = $(this).closest('form').find(':checkbox');
  checkboxes.prop('checked', $(this).is(':checked'));
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #checkbox #jquery
ADD COMMENT
Topic
Name
6+7 =