I have some JavaScript code that works in IE containing the following:
myElement.innerText = \"foo\";
However, it seems that the \'innerTex
Firefox uses the W3C-compliant textContent property.
I'd guess Safari and Opera also support this property.