Menu
What is wrong with this script? Even if they get the correct username and password, it still goes to about:blank…
<script language=”JavaScript”>
var u=window.prompt(“Enter username”)
var p=window.prompt(“Enter password”)
if (u == “user” & p == “pass”)
alert(“correct”)
else
alert(“Incorrect username/password”);
window.location = “about:blank”
</script>