div.appendChild(document.createTextNode( text ))
div.textContent += text
div.firstChild.data += text
div.innerHTML += text
http://gist.github.com/437426