Re: IE8 - jscript - layers
- From: "Anthony Jones" <Ant@xxxxxxxxxxxxxxxx>
- Date: Thu, 28 Aug 2008 11:22:21 +0100
"Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx> wrote in message
news:Xns9B08621B940EEeejj99@xxxxxxxxxxxxxxxxxx
Hotrod Harry wrote on 28 aug 2008 in microsoft.public.scripting.jscript:
<a href="javascript:hideAll(), ShowContent('nab11')"></a>
With the comma, it would never work, not in IE8, nor in IE0.3.
Slap this in a HTML file an open it in a browser:-
<a href="javascript:alert('This will not work'), alert('oops it
does')">Click Me</a>
You can read what the documentation says about the comma operator here:-
http://msdn.microsoft.com/en-gb/library/9b37css7(VS.85).aspx
--
Anthony Jones - MVP ASP/ASP.NET
.
- Follow-Ups:
- Re: IE8 - jscript - layers
- From: Hotrod Harry
- Re: IE8 - jscript - layers
- References:
- IE8 - jscript - layers
- From: Hotrod Harry
- Re: IE8 - jscript - layers
- From: Evertjan.
- IE8 - jscript - layers
- Prev by Date: Re: IE8 - jscript - layers
- Next by Date: Re: IE8 - jscript - layers
- Previous by thread: Re: IE8 - jscript - layers
- Next by thread: Re: IE8 - jscript - layers
- Index(es):