Virajsinh

datatable Checkbox

Jun 27th, 2020
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.04 KB | None | 0 0
  1. https://jsfiddle.net/gyrocode/07Lrpqm7/
  2.  
  3.  
  4. normal table select all check box
  5. $('#selectAll').click(function(e){
  6. var table= $(e.target).closest('table');
  7. $('td input:checkbox',table).prop('checked',this.checked);
  8. });
Add Comment
Please, Sign In to add comment