I would like to get all descendant text nodes of an element, as a jQuery collection. What is the best way to do that?
$('body').find('*').contents().filter(function () { return this.nodeType === 3; });