How do I find the first text-node of a given DOM object?
Input: <div><p>here is</p> some text</div> Output: " some text" Input: <h1><a href="#id1"></a>Header 1</h1> Output: "Header 1" ~ ~ Dave
How do I find the first text-node of a given DOM object?
Input: <div><p>here is</p> some text</div> Output: " some text" Input: <h1><a href="#id1"></a>Header 1</h1> Output: "Header 1" ~ ~ Dave