new line to break | naveenOS
https://www.naveenos.com
How may I help you - E-Commerce | Full-Stack DeveloperThu, 03 Mar 2011 07:44:29 +0000en-US
hourly
1 https://wordpress.org/?v=6.7.2Javascipt: how to use nl2br function
https://www.naveenos.com/2011/03/javascipt-use-nl2br-function
https://www.naveenos.com/2011/03/javascipt-use-nl2br-function#respondThu, 03 Mar 2011 07:43:26 +0000http://naveenos.com/?p=335In php we have a function to replace nl2br means new line to break format. but when we need this functionality in our javascript code then what we do? We can do by simply manner: function nl2br(value) { return value.replace(/\n, ""); } Above function will return the converted ‘\n’ to ‘‘. But above function has […]
The post Javascipt: how to use nl2br function first appeared on naveenOS.]]>https://www.naveenos.com/2011/03/javascipt-use-nl2br-function/feed0