[jQuery] Re: jQuery Validation - ajax check for email

2009-10-21 Thread Samuurai
Fantastic!!! I got it working.. my first ever ajax request.. :P Thanks Jorn for this great plugin. For other readers, have your remote script return "true" or "false" - no need for JSON. Here's my working code. rules:{ email: { required: true, email: true

[jQuery] Re: jQuery Validation - ajax check for email

2009-10-21 Thread Jörn Zaefferer
The method has to return something else then undefined. You can use the remote-method instead, it allows you to do remote checks: http://docs.jquery.com/Plugins/Validation/Methods/remote Jörn On Wed, Oct 21, 2009 at 2:12 PM, Samuurai wrote: > > Hi, > > This is my first attempt at using addMetho