In IE when I insert text into a tag the newlines are ignored:
shoud only output one line in all browsers. Of course remove the \n as well, code should be:
document.getElementById("putItHere").innerHTML = "first linesecond line";