Re: Jscript if then else
From: Lee (REM0VElbspamtrap_at_cox.net)
Date: 08/05/04
- Next message: Roger Withnell: "Re: window.open and IE6"
- Previous message: Bob Barrows [MVP]: "Re: Destroying ActiveX object"
- In reply to: Kaleb: "Jscript if then else"
- Next in thread: Dave Anderson: "Re: Jscript if then else"
- Reply: Dave Anderson: "Re: Jscript if then else"
- Messages sorted by: [ date ] [ thread ]
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 "=="
- Next message: Roger Withnell: "Re: window.open and IE6"
- Previous message: Bob Barrows [MVP]: "Re: Destroying ActiveX object"
- In reply to: Kaleb: "Jscript if then else"
- Next in thread: Dave Anderson: "Re: Jscript if then else"
- Reply: Dave Anderson: "Re: Jscript if then else"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|