The only way I know how to print a huge string without using += is to use \\ backslashes. ugly!
You really could minimize this ugliness by creating your I don't like creating HTML in Javascript because of this exact issue, and instead use "template" elements which i simply clone then manipulate. And this is the HTML:var lol = document.getElementById("template_lol").clone();
lol.firstChild.innerHTML = "code and stuff";
foo.appendChild(lol);