Ferdinand Beyer wrote:
> Hi!
>
> In a recent project I often needed to copy a jQuery object to save a 
> subquery without losing the original query. As far as I can see there is 
> no "official way" to do this so I came up with a small extension function:
>   
Hi Ferdinand,

though it looks like there is now an official way, did you consider 
using end()? It restores the last state of the jQuery object before 
filtering or similar modifications. I'm not sure how exactly your code 
looks like, but that could have helped, too.

-- Jörn

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

Reply via email to