He wants the reference of the textnodes. Thats what i understood of what he said. In this fiddle you are grabbing the anchor node, cloning and injecting it into a paragraph. He wants to reference the textnodes.
Look at this: http://www.jsfiddle.net/y8Rac/3/ It works on chrome, i havent tested on other browsers. I think it doenst work on ie. -- Fábio Miranda Costa Solucione Sistemas Engenheiro de interfaces 2010/2/12 Sanford Whiteman <[email protected]> > > Im talking about textnodes. textnodes are nodes that just contains text, > > they dont have a tag, for example. > > The ',' in the Fiddle is most surely a DOM TEXT_NODE, and the strings > 'one' and 'two' are also textnodes, children of their SPAN parents. > > Whitespace textnodes are also present, though I doubt that would be > important to the OP. > > -- S. > >
