How do you put in a new line into a JavaScript alert box?
will put a new line in - being a control code for new line.
alert("Line 1 Line 2");
2.1m questions
2.1m answers
60 comments
57.0k users