[thelist] JavaScript Alert Window
Joe Crawford
jcrawford at avencom.com
Wed Jan 31 18:38:48 CST 2001
Salvatore Palmisano wrote:
> Is it possible 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?
\n is the newline character
so:
alert('hello world')
versus
alert('hello\nworld')
--
Joe Crawford |||||||||||||| mailto:jcrawford at avencom.com
|||||||||||||||||||||||| http://www.avencom.com
||||||||||||||||||||||||||| Avencom: Set Your Sites Higher
More information about the thelist
mailing list