neo_philiac
07-11-2006, 04:55 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;
}
i also tried window.location = "asdasd.html", it dosent work
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;
}
i also tried window.location = "asdasd.html", it dosent work