[jQuery] Reset JQuery collection

[jQuery] Reset JQuery collection

Hi,
Is there any way to reset JQuery collection.
For example I do this: $('.boxes').size(), returned 3
Then I do this: $('.boxes:visible').remove(); Let's assume there were 2
visible boxes.
So logically I'd expect JQuery to return 1 when I do this again:
'.boxes').size(), but it is still returning 3.
Is there a way to reset JQuery internal collection or somesort.
Thanks
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/