As silly as it may sound, I still haven\'t found an appropriate answer.
Let\'s say I want to dynamically create a new DOM element and fill up its textContent/innerTe
The following code works well (On FireFox, IE and Chrome) :
var display_out = "This is line 1" + "" + "This is line 2"; document.getElementById("demo").innerHTML = display_out;