faqts : Computers : Programming : Languages : JavaScript : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

74 of 80 people (93%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

Can I make a linebreak and use tabs in an alert?

Mar 28th, 2000 13:11
Bart Hoeksel,


Yes , check out the following example:
alert(' This is line \t 1 \n and this is \t 2 \n - \t\t 3 \n ')
Works in Perl too.