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). What he wanted to do was replace one of the text nodes, leaving th ...
Read More ยป