I have some JavaScript code that works in IE containing the following:
myElement.innerText = \"foo\";
However, it seems that the \'innerTex
Just reposting from comments under the original post. innerHTML works in all browsers. Thanks stefita.
myElement.innerHTML = "foo";