I've got this function function
checkpassword()
{
var password = document.getElementById("passwordBox");
var passwordtext = password.value;
if(passwordtext == "reece")
{
return true;
}
alert("acsess denied!!");
← ← ← ← ←
return false;
}
and i want to add a web page address here if it returns false Can you help?