Great discussion. Thanks for all.
-- Nivash Ramachandran

On Mon, Feb 9, 2009 at 7:19 PM, Karl Swedberg <k...@englishrules.com> wrote:

> Oh yeah! Good point, Rob. I always forget these DOM properties. Thanks for
> the reminder. :)
>
> --Karl
>
> ____________
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
>
> On Feb 9, 2009, at 2:37 AM, RobG wrote:
>
>
>
>
> 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