PDA

View Full Version : Line breaks in dialog boxes


Frank
12-13-2002, 06:51 PM
I have an alert box that i want to have return with the information that was just entered. How every I don't know how to enter line breaks in the

alert("Text goes in here" + Var1);

There may be an easy answer but I can't find one.
I have been learning to using JavaScript on my own for about 3 months and am still very new to it.

Please help

A1ien51
12-13-2002, 06:53 PM
use "The top\nThe Bottom"