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
- [jQuery] selector to return the number of rows in a ta... pantagruel
- [jQuery] Re: selector to return the number of row... James
- [jQuery] Re: selector to return the number of... James
- [jQuery] Re: selector to return the numbe... James
- [jQuery] Re: selector to return the n... Karl Swedberg
- [jQuery] Re: selector to return ... Karl Swedberg
- [jQuery] Re: selector to return the number of row... Ricardo Tomasi
- [jQuery] Re: selector to return the number of row... RobG
- [jQuery] Re: selector to return the number of... Karl Swedberg
- [jQuery] Re: selector to return the numbe... Nivash Ramachandran
- [jQuery] Re: selector to return the number of... pantagruel