Comment

Brazilian ICT Offshore

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