HTML Forums - Free Webmaster Forums and Help Forums
>
WEBSITE DEVELOPMENT
>
Client Side Scripting
> multiline alert
PDA
View Full Version :
multiline alert
amolmali
01-29-2003, 07:02 AM
How to create a multiline alert dialog box with JavaScript?The one Im trying to use is one long string of text...how can I script a carriage return?
Dr. Web
01-29-2003, 11:13 AM
\n = newline
\t = tab
alert("this is a alert\n\n\nwith some newlines in it.\nand some\ttabs\ttabs\ttabs");
amolmali
01-29-2003, 10:08 PM
Thanx Dr. Web.
Dr. Web
01-29-2003, 10:11 PM
not a problem!
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.