...

View Full Version : Script problem



neo_philiac
07-11-2006, 03:56 PM
can anyone tell me what is it that I am doing wrong in this code?
This should take me to the page if the password is ioncorrect but instead the browser says page not found
....
else{
alert("Invalid username & password")
load('wrongpage.html')
}
}
function load(url)
{
location.href=url;
}

Beagle
07-11-2006, 05:54 PM
nothing wrong with the script, it's the url that's the problem.

try to navigate to that page, is it there? Is it spelt correctly? Is it in a directory other than the current one?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum