Guest User

Untitled

a guest
May 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $('span.selectall').click(function() {
  2. if ($(this).attr('checked') == true)
  3. $(this).parent().find('.check').attr('checked', 'checked');
  4. else
  5. $(this).parent().find('.check').removeAttr('checked');
  6. });
Add Comment
Please, Sign In to add comment