title: getElementsByTagName() equivalent for textNodes
body: <p>Is there any way to get the collection of all <code>textNode</code> objects within a document? </p>
  
  <p><code>getElementsByTagName()</code> works great for Elements, but <code>textNode</code>s are not Elements.</p>
  
  <p><strong>Update:</strong> I realize this can be accomplished by walking the DOM - as many below suggest. I know how to write a DOM-walker function that looks at every node in the document. I was hoping there was some browser-native way to do it. After all it's a little strange that I can get all the <code>&lt;input&gt;</code>s with a single built-in call, but not all <code>textNode</code>s.</p>