Validate Password in JavaScript
<!DOCTYPE html> <html> <head> <script> function matchpass() { var firstpassword=document.f1.password.value; var secondpassword=document.f1.password2.value; if(firstpassword==secondpassword){ return true; } else{ alert("password must be same!"); return false; } } </script> </head> <body> <form name="f1" …
Validate Password in JavaScript Read More