On Feb 9, 4:23 am, pantagruel <rasmussen.br...@gmail.com> wrote:
> Hi,
>
> I am selecting the row of a table. I would like to be able to count
> how many rows there are in the table before the row I just selected. i
> suppose there is a jQuery selector that will do this.

Not necessary - table rows have a rowIndex property, and since it's
zero indexed:

 rowsBefore = row.rowIndex;

<URL: http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-67347567 >


--
Rob

Reply via email to