NL2BR in JQuery
var valNew = valNew.replace(/\n/g,"<br>");
Shy Sandpiper
var valNew = valNew.replace(/\n/g,"<br>");