I have a text area that I want to pre-populate with some specific text that includes line breaks. I\'m populating the area onLoad but I can\'t get the line breaks to work c
As stated multiple times, you need the \n character.
\n
see here: http://jsfiddle.net/XbALv/
document.getElementById("blah").value = "This" + "\n" + "is some" + "\n" + "text" + "\n";