NL2BR en jQuery

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