Sunday, May 19, 2013

How to find id of enclosing tr

var myId = $(this).closest('tr').attr('id');