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
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() }
}
}
}
}
2 matches
Mail list logo