PHP Code to subscribe email address

To compare two text boxes string in java script here is following code that gets value text boxes and compares the values and return the results. Here is JavaScript code.
$(document).ready(function() {
    $(“#re_password”).bind(‘keyup blur’, function(){
var password = $(“#password”).val();
var re_password= $(“#re_password”).val();
if(password != re_password)
{
$(“#re_passwordInfo”).html(“Password miss match”);
return false;
}
else
{
$(“#re_passwordInfo”).html(“”);
return true;
}
});

});
In above code we are getting values of password text box and repassword text box and compare these these values and returning result that either matches or not.

Leave a Reply

Your email address will not be published. Required fields are marked *