[jQuery] Re: Help with selecting great grandchildren

2008-05-02 Thread Chuck Cheeze
Perfect thanks. Not sure why I couldn't get that going myself... On May 2, 2:32 pm, BlueCockatoo <[EMAIL PROTECTED]> wrote: > You could use > > $(".line-item", $(this).parent()) > > which brings back all .line-items under the context of the parent or > you could use > > $(this).parent().find(".

[jQuery] Re: Help with selecting great grandchildren

2008-05-02 Thread BlueCockatoo
You could use $(".line-item", $(this).parent()) which brings back all .line-items under the context of the parent or you could use $(this).parent().find(".line-item") which searches for any .line-items under the parent. Either one should work, so pick your favorite :) - Lindsay On May 2, 12