Klaus Hartl schrieb:
> [...]
> Here the original object is not modified, but in the chain it still is
> when the next filter comes into play.
>
I can't see a bug there.
> The best thing would be to use:
>
> $('a').parents('li').find('div, p:eq(0)').toggle();
>
> Does that work?
>
That should work fine. The jQuery constructor delegates to find anyway.
In addition, most other methods like filter or parents now accepts
commaseparated expressions to work with.
--
Jörn Zaefferer
http://bassistance.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/