Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var $activeRow;
- $('#myGrid tr').click(function() {
- if ($activeRow) $activeRow.removeClass('active');
- $activeRow = $(this).addClass('active');
- });
- $('.toggledClass').removeClass('toggledClass');
Add Comment
Please, Sign In to add comment