Hi people, I got a Javascript but I have to edit it. I searched everywhere but couldnt how to make line break in js. I tried "\n" but it didnt work for me. All I want to do is something like this : "Hi Hello Bye" Would appreciate. Thanks, Soner
Use <br /> if you plan to show the result in a browser. otherwise "\n" should work. Or you can use <pre></pre> with \n
When I use "br" tag it shows in the browser <br/> and I used "\n" like this, still doesnt work next venture.\n"Accurate Insurance Services \n" ';
The \n is new line character it does not identify by the browser. The browser only identify the markup languages like start and end with < and >.