I'm trying to do a password redirect on my company's page, but on some computers it works, and some it doesn't. It proceeds on a wrong password. All the computers are using Chrome. credit to this page, for getting my started. Thank you
<html>
<body>
<div class="wrapper">
<!-- **** video file goes here ****-->
<form class="form1" action="Tyler-Lefko-Master.mp4">
<div class="formtitle">
<h1>Enter Your password to proceed</h1>
</div>
<div class="input nobottomborder">
<div class="inputcontent">
<input type="password" id="password" /><br />
</div>
</div>
<div class="buttons">
<input class="orangebutton" type="button" value="Proceed" onclick="checkPassword()" />
</div>
</form>
</div>
</body>
</html>
<script>
function checkPassword(){
// **** passord here ***** (after == , inside quotes)
if(document.getElementById('password').value == 'tyler123'){
// alert('Correct Password!');
location.href = "Tyler-Lefko-Master.mp4";
return true;
} else {
alert('Wrong Password!');
return false;
}
}
</script>