I believe it's something like $('div').text();

-js


On 5/29/07, DaveG <[EMAIL PROTECTED]> wrote:



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


Reply via email to