I have made a simple auth using html and java script with a button to submit the password
function verify() {
checkpass = document.getElementById("pass").value;
if (md5(checkpass) == "03318769a5ee1354f7479acc69755e7c") {
alert("Correct!");
document.location="./aebe515f7c62b96ad7de047c11aa3228.html";
}
else {
alert("Incorrect password");
}
}
and have already imported the md5.js you can view the page here http://okabdo.16mb.com/
The prob is when I press Log int it refresh the page and it doesn't show any message in alert !!