title: jquery recognize in which row iam
body: <p>I have a table with thousands of rows.
  There are no ids and so on.</p>
  
  <p>Within the tds of the rows I have a link calling a function and passing "this" to get the link object.</p>
  
  <p>Using jQuery it is easy to get the the closest tr and table (and so the tables.rows.length)</p>
  
  <ol>
  <li>I want to know as easy in which row I am. OK I could do a loop but does exist any easier possibility?</li>
  </ol>
  
  #
  
  <p>Another table with rows<br>
  The rows have mixing className in no structured order tr1 tr2, tr4 maybe clsA, tr3 clsB
  and between them are non "class-named" trs or some called separator</p>
  
  <ol start="2">
  <li>I want to know which row comes first clsA or clsB -> remember it is not the first sibling etc. there can be empty trs or separator.</li>
  </ol>
  
  <p>-> I want to avoid loops, that's why I ask for some jQuery tricks.</p>