Skip to content Skip to sidebar Skip to footer

Javascript Return New Line

Simple question, I'm trying to output some text using javascript, and I want to have a new line between some of my text. The following code is what I'm using currently: {

Solution 1:

use <br/> instead of \n..

Solution 2:

If it's ending in the web-browser (I don't know your special case) try using <br/> instead of \n

Solution 3:

try escaping \n with single quotes and put the whole string into double quotes

Post a Comment for "Javascript Return New Line"