[jQuery] Re: [validate] Sending Two Inputs Together to Remote Validation?

2008-11-25 Thread Jörn Zaefferer
Try this: $().ajaxSend(function(event, XMLHttpRequest, ajaxOptions) { $.extend(ajaxOptions.data, {username: $(#Username).val()}); }); This would add the username to each request. Modify as necessary. Jörn On Mon, Nov 24, 2008 at 8:07 PM, megageorge [EMAIL PROTECTED] wrote: Is it possible to

[jQuery] Re: [validate] Sending Two Inputs Together to Remote Validation?

2008-11-25 Thread Jörn Zaefferer
With the 1.5 release you will be able to use this instead: $(#myform).validate({ rules: { username: { required: true, remote: { url: checkusername.php, type: post data: { email: function() { return $(#email).val() } } } } }