[jQuery] Re: Selector confusion

2008-01-02 Thread Shawn
Thanks Karl. Unfortunately I can't guarantee there will be one (or more) tables at all. I'm using dynamic content, so some rows may have one or more sub tables, while others will have none... I *might* be able to rework the code some so there are no nested tables (use DIVs instead to get a r

[jQuery] Re: Selector confusion

2008-01-02 Thread Karl Swedberg
Hi Shawn, On Jan 2, 2008, at 5:30 AM, Shawn wrote: I'm working on a table that has nested tables. My problem is that I need to retrieve all the rows for the main table, but ignore the nested tables. I know I can do something like this: $("#mytable > tbody > tr"); But my table reference