Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nl2br in jquery

var valNew = valNew.replace(/
/g,"<br>");
 
PREVIOUS NEXT
Tagged: #jquery
ADD COMMENT
Topic
Name
5+5 =