Community

Replacing Text Nodes With jQuery

(Ben Nadel) This morning on Twitter, I came across a Tweet from Robert Rawlins (aka. @SirRawlins) asking about replacing text values within a DOM element. He had a situation in which a node contained mixed children; that is, the node contained both element nodes (type 1) and text nodes (type 3).

Read More - Register for Free Membership