Virajsinh

datatable Checkbox

Jun 27th, 2020
33
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. });
RAW Paste Data