I was just thinking, it might help if the docs were clarified a bit as regards the parents() method. It could say something like "returns all matched ancestor elements in the order from innermost to outermost" or something along those lines.
Example: <div id="1"> <div id="2"> <div id="3">hello!</div> </div> </div> $("#3").parents() will return [div#2, div#1] Maybe that's obvious to some folks... On Jun 7, 2:15 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > > did you try .parents("td:eq(1)") > > That works. Thanks! Much prettier. > > -- Josh > > ----- Original Message ----- > From: Ⓙⓐⓚⓔ > To: jquery-en@googlegroups.com > Sent: Thursday, June 07, 2007 11:39 AM > Subject: [jQuery] Re: select td 2 levels up > > did you try .parents("td:eq(1)") > > On 6/7/07, Josh Nathanson <[EMAIL PROTECTED]> wrote: > You're right...it doesn't work with just the parent() and no specific > element selector. I need the td's in there. > > I would like to use divs to make the layout simpler, but I just couldn't > get it looking the way I want in IE6. > > Oh well, ugly it is! > > ----- Original Message ----- > From: Ⓙⓐⓚⓔ > To: jquery-en@googlegroups.com > Sent: Thursday, June 07, 2007 11:09 AM > Subject: [jQuery] Re: select td 2 levels up > > oops Matt. if this is the <i> in <center><b><i>Ha Ha</i></b></center> > .... yours breaks > > -- > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ