Re: Jscript if then else

From: Lee (REM0VElbspamtrap_at_cox.net)
Date: 08/05/04


Date: 5 Aug 2004 06:20:18 -0700

Kaleb said:
>
>Trying to teach myself jscript and I was playing with entering a
>username and password but I am having trouble with the if then
>statement. I realize that this is not very secure but just trying to
>compare input text to a pre-assigned variable for password. Following
>is my script. Any help would be greatly appreciated.

> { if(myform.password.text = passwd)

  "=" should be "=="



Relevant Pages

  • Re: Need Help from a finish speaker...please advise!
    ... Viewing the source of the page suggests. ... plus i am having trouble getting past the following page: ... i have been entering my username in the first box then my password but ...
    (soc.culture.nordic)
  • Re: Need Help from a finish speaker...please advise!
    ... Viewing the source of the page suggests. ... plus i am having trouble getting past the following page: ... i have been entering my username in the first box then my password but ...
    (soc.culture.nordic)
  • Re: Crystal Radio requests
    ... This is the trouble with many of us, myself included, we ... You can see your dedications if you stay on the playing page... ... you are taken too after you do a request and dedication. ...
    (uk.local.kent)
  • Re: Fed has a tough FO draw.
    ... Berdych and Blake are no threats to him on clay, ... slightly trouble him and as for Nieminen - Nadal is 3-0 against him. ... Berdych has game to trouble Nadal if Rafa is not playing ... Davydenko and Hewitt are the only people I can possibly think of - ...
    (rec.sport.tennis)
  • mandrake 10 installed OK w/out inserting UN & PW, but now insists I login USING them.... :-( WT
    ... mandrake 10 without entering a username and password when the CD's asked ... I never entered any during the CD install, ... available that I could -now- press to make it boot; ...
    (comp.os.linux.setup)