Wednesday 25 September 2013

How to put Line break in javascript ?

How to put Line break in javascript ?

I want to put line break in javascript. I have used <br/>, \n and %0D%0A
but nothing happened.
Here is my code:
var textpara = 'This is dummy text. It will blink and then show.';
I want this:
This is dummy text.
It will blink and then show.
Any suggestions ?

No comments:

Post a Comment