I have been trying diff. ways,no luck.
Should my password be the same as the page it will open?
Example: password=index (the page it opens is named index.html)
Now i have put everything in one directory. loginpage.htm, chkpwd.htm, badpassword.htm, coddingforums.js, index.html.