Boris wrote: > No, setting nodeValue on a textnode should simply set the text inside the > text node. Setting nodeValue on an element is a silent no-op. Setting > nodeValue never creates a "new DOM text node child". Hmmm... though as Jeff says "Apart from '2e' not being a valid variable name (variables cannot begin with numbers), it looks like the textContent property is the way you want to do this:" Wow. That is nice... I see it even works in most places. Sorry for the naive question but what is the status of the document http://www.w3.org/TR/DOM-Level-3-Core/core.html ? I mean, by that, is it stable enough to assume that browsers should implement it? cheers DavidReceived on Sunday, 3 October 2010 03:57:42 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:28 UTC