Showing posts with label password matching using js. Show all posts
Showing posts with label password matching using js. Show all posts

Sunday, April 13, 2025

Password Matching Script using Javascript


 <script>

function check(){
   var password = document.getElementById("password").value;
   var cpassword = document.getElementById("cpassword").value;

   if(password==cpassword){
    document.getElementById("status").innerHTML="Matched!";
   }
   else{
    document.getElementById("status").innerHTML="Not Matched!";
   }
}
</script>

<input type="text" id="password" placeholder="Type Password" onkeyup="check()">
<input type="text" id="cpassword" placeholder="Type Confirm Password" onkeyup="check()">
<br/><br/>
<b id="status"></b>

  1. What is Google Opal? It’s a no-code / low-code AI mini-app builder developed by Google Labs. You describe what you want in natural ...