FEW LINES OF MESSAGE

A

alec

I am using standard window.alert("my message") to inform visitor to my web
site. I have encountered one problem though. Since my message is rather long,
I would like it to appear in a few lines rather than one very long one. Is it
possible to do?
Thank you in advance for your help and suggestions.
 
J

Jon Spivey

Hi Alec,
\n is the symbol for new line, eg
alert('some text \nnext line')

No space between \n and the following text
 
Top