ibrahimjan

Members
  • Content count

    57
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by ibrahimjan

  1. Like astralaaron said using closest class and the index class in jquery you can get the index of the tr, have a look at the fiddle. https://jsfiddle.net/8hL46ftj/ hope this helps $('img').click(function(){ alert($(this).closest('tr').index()) })