That will select both the lis as they both contain at least one ol
with an attribute of kids.
I need it to select only the lis in which every ol has the attribute of kids.
Only the second li in my example should be selected.
On 01/01/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> What about something like: $("[EMAIL PROTECTED]").parents("li")
>
> The first expression will return ol's with any kids attribute, and then grab
> all parent nodes that are "li"s.
>
> Does that help?
>
> -- Yehuda
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/