Javascript Ajax jQuery Html PHP Example Quiz New MORE
Need a Website Or Web Application.Contact : +91 9437911966 (Whatsapp) Note: Paid Service

How to validate password and confirm password is match or not jQuery

<!DOCTYPE html>
<script src=""></script>
<input type="password" id="txtNewPassword" placeholder="Enter passward" name="pass">
<input type="password" id="txtConfirmPassword" placeholder="Confirm Passward" name="confpass" >
	<div class="registrationFormAlert" style="color:green;" id="CheckPasswordMatch">
    function checkPasswordMatch() {
        var password = $("#txtNewPassword").val();
        var confirmPassword = $("#txtConfirmPassword").val();
        if (password != confirmPassword)
            $("#CheckPasswordMatch").html("Passwords does not match!");
            $("#CheckPasswordMatch").html("Passwords match.");
    $(document).ready(function () {

Run it yourself