Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html add new line in js alert

alert("Text you want on first line. 
 Text you want on next line");
//can use back-to-back "
" to add additional spacing between lines
 
PREVIOUS NEXT
Tagged: #html #add #line #js #alert
ADD COMMENT
Topic
Name
4+1 =