function showLink() { alert("in function"); var pass = document.getElementById("pass").value; var valid = "3574Hoy"; alert(valid); alert(pass); if (pass != valid) { alert("wrong"); } else { alert("correct"); document.getElementById("downloads").style.visibility = "visible"; } }
<a id="downloads" style="visibility:hidden;">Downloads Link</a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)