var s1 = 'the 1st line'; var s2 = 'the 2nd line'; var s = s1 + '\n' + s2;
< br />
\n
<br/>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)