Hi
Could someone tell me why this doesn't work in Firefox, its ok in IE6.
if (username=="name1" && password=="123456") {loggedin=true; window.location="page1.html";}
To check the rest of the script I tried this and it worked in both Firefox and IE6.
if (username=="name1" && password=="123456") {loggedin=true; alert("Correct");}
The redirect url is correct and if I put the full url in that also doesn't work. The script is serverside.
All that appears to happens is the page refreshes, can't find anything about it on mozilla.
Many Thanks
Phil, Firefox fan.
Could someone tell me why this doesn't work in Firefox, its ok in IE6.
if (username=="name1" && password=="123456") {loggedin=true; window.location="page1.html";}
To check the rest of the script I tried this and it worked in both Firefox and IE6.
if (username=="name1" && password=="123456") {loggedin=true; alert("Correct");}
The redirect url is correct and if I put the full url in that also doesn't work. The script is serverside.
All that appears to happens is the page refreshes, can't find anything about it on mozilla.
Many Thanks
Phil, Firefox fan.