I am a total newbie to html/JavaScript. This is what I am trying to do:
- User enters 2 passwords in the form - OK so far.
- If one of them is wrong, a box comes up that says "Incorrect credentials!" - this works fine.
- If they are both correct, the viewer is redirected to a page called "wm.htm" (or possibly to its URL) which is in the same directory - this doesn't work.
Problem is, I cannot get that file/URL to appear although it does exist in the right location. I get the 404 page every time. So what is the correct code to use to make the "wm.htm" appear after the IF statement is validated?
I have attached a screenshot of the code I used as I couldn't upload txt, rtf or doc files.
Can anybody please help?
Thanks,
Gilles




