> From: Ferdinand Beyer
>
> 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
It looks like jQuery 1.0 does this. Check the source code:
function jQuery(a,c) {
...
// Watch for when a jQuery object is passed as the selector
if ( a.jquery )
return $( jQuery.merge( a, [] ) );
...
}
-Mike
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/