problem with validation

problem with validation

I have problem with validation plugins. I want to set up change passwod section
where when you type the old password it sends the query to see if the password matches that one in datatbase.
I used the remote to do that similar stuff with different project, but with the current one it returns the json object.
Based on my reseach I can't use "remote" for json response and try to set up addMethod instead.
i gotta validation part working but now every time I typed in password it tries to check with the server
since it is async:false I had to wait until the server give me response ( almost I have to wait one second for each character )
Is there any way that

$







(document).ready(function(){
 $
.validator.addMethod("password", function(value, element) {
var response;
   $

.ajax({
      type
: "POST",
      url
: "validateLogin.php",
      data
: { email: test@test.com, password: "mypassword"},
async: false

      success: function(data)
     
{
       
if(data.status=="OK") {
         
response = true;
       
}
response = false;
     
}
 
});
return response;

 } ,"Password is invalid.");

$("#changepasswordForm").validate( {




rules:{
oldpassword: { required: true, password: true },
   newpassword: { required: true },
confirmpassword: { equalTo: "#nwepassword"; }
};
});