Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to select and deselect all items without use name in laravel

$(document).ready(function() {
  $("#BulkSelect").click(function() {
    $('.Bulkers').prop('checked', this.checked);
  });

  $('.Bulkers').change(function() {
    $("#BulkSelect").prop("checked", $(".Bulkers").length === $(".Bulkers:checked").length);
  });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #deselect #items #laravel
ADD COMMENT
Topic
Name
7+3 =