The password authentication code, but does not work.. Where is the error in my code?
JS:
function checkPass() { var pass = document.getE
if(pass.value != pass2.value) { document.layers.passResponse.innerHTML = "Passwords did not Match!"; } else { document.layers.passResponse.innerHTML = "Passwords Match!"; } }
Use the code above.