Re: Switch() Statement Not Working



Evertjan. wrote on 31 jan 2006 in comp.lang.javascript:

> wrote on 31 jan 2006 in comp.lang.javascript:
>
>> switch(b)
>> {
>> Case >=1.25 && <=1.30:
>> this.form.dlnt.value=.01;
>>
>
> It is all in the name:
>
> case is lowercase!
>

and give me a break:

you will have to use break;

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
.



Relevant Pages

  • Re: [Help]
    ... > Evertjan. ... > (Replace all crosses with dots in my emailaddress) ... Prev by Date: ...
    (comp.lang.javascript)
  • Re: Switch() Statement Not Working
    ... case is lowercase! ... Evertjan. ... The Netherlands. ... Prev by Date: ...
    (comp.lang.javascript)
  • Re: Making tooltips stay longer...
    ... > In message, Evertjan. ... (Replace all crosses with dots in my emailaddress) ... Prev by Date: ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Regexp
    ... Evertjan. ... >> I am weak when it comes to regexp but hoped someone might know in this ... (Please change the x'es to dots in my emailaddress) ... Prev by Date: ...
    (comp.lang.javascript)
  • Re: Java rotating image script
    ... Evertjan. ... (Replace all crosses with dots in my emailaddress) ... Prev by Date: ...
    (comp.lang.javascript)