Hi Ferdinand,

> What I would really like to see in the standard library is that jQuery
> objects can be passed to the $() function to obtain a copy:
>
> var $a = $('some.query');
> var $b = $($a);
>
> $b.filter('some.criteria'); // Does not affect $a
>
> What do you think about that?

I snuck that exact code into jQuery 1.0:
http://jquery.com/src/jquery-1.0.js

You can now clone jQuery objects by wrapping them again, just as you
described. Enjoy!

--John

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to