[jQuery] jQuery validation and captcha in a form

2009-03-24 Thread Mr J
dear all, i'm trying to implement the captcha in a form where i'm using jquery validation and also custom validation methods. this is the code i have so far: jQuery.validator.addMethod("Captcha", Function(value, element) { jQuery.get("/functions/app/CaptchaAjax/captcha.asp? validateCap

[jQuery] jQuery validation and captcha

2009-03-24 Thread Mr J
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=" + jQuer