Alsup
[EMAIL PROTECTED]
Sent: Friday, November 21, 2008 3:35 PM
To: jQuery (English)
Subject: [jQuery] Re: Submitting the submit input value
If I call
jQuery('form1').ajaxSubmit();
The value sent to the server is foo=bar and not foo=barbutton=click.
Is there an easy way to get this to work
I was combining the ajax form plugin with the ajax validation plugin, which
is why I need to call ajaxSubmit. I wrote up the details
here:http://haacked.com/archive/2008/11/21/combining-jquery-form-validatio...
The workaround I did was simply to add a hidden input with the same name as
If I call
jQuery('form1').ajaxSubmit();
The value sent to the server is foo=bar and not foo=barbutton=click.
Is there an easy way to get this to work? It's needed by my backend
server.
Use ajaxForm instead of ajaxSubmit and you will get that behavior.
Note that you call ajaxForm once to
3 matches
Mail list logo