Re: Line break in alert
- From: Randy Webb <HikksNotAtHome@xxxxxxx>
- Date: Fri, 20 Oct 2006 20:51:49 -0400
Trevor L. said the following on 10/20/2006 8:10 PM:
Evertjan. wrote:Randy Webb wrote on 20 okt 2006 in microsoft.public.scripting.jscript:
Evertjan. said the following on 10/20/2006 3:47 AM:Trevor L. wrote on 20 okt 2006 in
microsoft.public.scripting.jscript:
What is the line break character
/n
I have better results with \n :)
You ought to. ;-{
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Thnaks to both
As I said, a mental block.
I thought I needed (or similar) but this just displayed as is
Interestingly, works in this context
<input type="button" value="Play/Stop Music" onclick="playSound()"/>
Hence I have to remember when to use
<br /> (HTML)
\n (JScript)
(value of input tags and elsewhere?)
Make a dummy page that keeps all your "shortcut" stuff and make it the default home page for your browser. Then you always have it at the click of the Home button :)
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
.
- References:
- Line break in alert
- From: Trevor L.
- Re: Line break in alert
- From: Evertjan.
- Re: Line break in alert
- From: Randy Webb
- Re: Line break in alert
- From: Evertjan.
- Re: Line break in alert
- From: Trevor L.
- Line break in alert
- Prev by Date: Re: Line break in alert
- Next by Date: Re: setTimeout in JScript program
- Previous by thread: Re: Line break in alert
- Next by thread: Java Script Error - innerWidth Undefined
- Index(es):
Relevant Pages
|