[jQuery] Finding first text element
[jQuery] Finding first text element
How do I find the first text-node of a given DOM object?
Input: <div>
here is
some text</div>
Output: " some text"
Input: <h1><a href="#id1"></a>Header 1</h1>
Output: "Header 1"
~ ~ Dave
Topic Participants
jquery
jdsharp
jakecigar
littlecooldude
rgqld