[jQuery] Re: filtering complex selectors

2008-10-23 Thread Dan Finch
if the element is a child of L1 There are many ways of simplifying that based on your element classes or attributes, but that's all I could come up with without seeing your HTML. cheers, - ricardo On Oct 22, 6:16 pm, Dan Finch [EMAIL PROTECTED] wrote: You're right, I do that all the time

[jQuery] filtering complex selectors

2008-10-22 Thread Dan Finch
If there's a way, what would it take to be able to use complex selectors (those with , ~, , etc.) with filtering functions. For example, $( div ).find( pa ); $( pa, $( div ) ); Thanks

[jQuery] Re: filtering complex selectors

2008-10-22 Thread Dan Finch
tried those? There's no reason why $( pa, $( div ) ); wouldn't find all a that are direct descendants of p tags inside div tags On Oct 22, 2:43 pm, Dan Finch [EMAIL PROTECTED] wrote: If there's a way, what would it take to be able to use complex selectors (those with , ~, , etc