cycling jQuery_Succinctly | Page 58

Sample: sample49.html

jQuery gives me more power than any other web tool!

Using remove() does not remove elements from wrapper set When you use remove(), a DOM snippet from the DOM the elements contained in the removed DOM structure are still contained within the wrapper set. You could remove an element, operate on that element, and then actually place that element back into the DOM, all within a single jQuery chain. Sample: sample50.html
remove me
The point here is that just because you remove() elements does not mean they are removed from the jQuery wrapper set. 58