⬅︎ Back to firstChild.nodeValue vs. innerHTML
x = document.createTextNode('test');document.getElementById('msg').appendChild(x);Works both in FF and IE.Example:http://www.haan.net/test/demo_createTextNode.phpCheers,Brazilian ICT Offshorewww.haan.net
Comment
x = document.createTextNode('test');
document.getElementById('msg').appendChild(x);
Works both in FF and IE.
Example:
http://www.haan.net/test/demo_createTextNode.php
Cheers,
Brazilian ICT Offshore
www.haan.net