Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#myTable').find('tr').click( function(){
- var rownum=$(this).index()
- alert('You clicked row '+ (rownum) );
- });
- <script>
- find();
- alert('You clicked row '+ (window.rownum) );
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement