i have a table with thousands of rows. there are no ids and so on.
within the tds of the rows i have a link calling a fucntion and passing "this" to get the link object.
using jquery it is easy to get the the closest tr and table (and so the tables.rows.length)
- i want to know as easy in wich row i'am?! ok i could do a loop but does exist any easier possibility?!
another table with rows 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
- i want to know which row comes first clsA or clsB -> remember it is not the first sibbling etc ther can be empty trs or separator
-> i want to avoid loops, thats why i ask for some jquery tricks?!