Multi-line alert in Javascript

How do you put in a new line into a JavaScript alert box?

Answer:

alert("Hello again! This is how we" +"\\n" +"add line breaks to an alert box!");



No comments:

Post a Comment

We are here to listen you, Comment your valueable opinion...!!!