linebreaks in alert messages code example
Example: new line in javascript alert
//alert function is used to prompt alert box
//inside the quotes we write string to display
//use \n to enter new line
alert("John\nJames\nSteve");
//alert function is used to prompt alert box
//inside the quotes we write string to display
//use \n to enter new line
alert("John\nJames\nSteve");