dear all, i'm working with jQuery validation to validate the fields in a form. in this form i have also the captcha (the check is verified through ajax). check the code below:
jQuery.validator.addMethod("Captcha", function(value, element) { jQuery.get("/captcha.asp?validateCaptchaCode=" + jQuery ("#captchacode").val() + "", function(data){ if (data == 1) { result = true; } return true; }); return this.required(element) || true; });