Have you tried those? There's no reason why
$( "p>a", $( "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.) with filtering functions. > For example, > > $( "div" ).find( "p>a" ); > $( "p>a", $( "div" ) ); > > Thanks