[jQuery] Re: selecting a parent

2007-04-26 Thread Josh Nathanson
Does this work? $(childEl).parents("td:first"); Worked like a charm, thanks! -- Josh

[jQuery] Re: selecting a parent

2007-04-26 Thread Joel Birch
On 27/04/2007, at 9:10 AM, Josh Nathanson wrote: I want to select the first parent of my selection that is a td element. How do I do that? I don't want parent(), since the number of parents in between may vary, or parents(), since I don't want to select ALL the td's that are up the hier