Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $(document).ready(function () {
  2. var table = $('#example2').DataTable();
  3.  
  4. $('#example2 tbody').on('click', 'tr', function () {
  5. var data = table.row(this).data();
  6. alert(data[0]);
  7. });
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement