james.padolsey.com
Submitted by: David Walsh

jQuery: $(elem).with()

This short code snippet makes it possible to carry out multiple operations on the children of any particular parent (within the DOM) while retaining the original subject of the chain.

direct link