I've tried many variations of the below and they don't work (and don't
return any errors). Could you please, please post a very small html
snippet showing how to make a click event trigger the ajax form
submit. I will donate $100.00 USD to jQuery.
You're close! Here you go.
$(#internet_service_type_dialup).click(function() {
$('#wizard_form').ajaxSubmit(options);
return false;
});
In you're code you were binding the submit event when the click
happened. But what you want is to just send the form straight away,
not bind it.
Thank you Mike!
Transaction ID: 8B774711LS930240P
Placed on Jan. 16, 2008
Payment For Quantity Price
jQuery Donation
Item #JQUERY-DONATE 1 $100.00 USD
Subtotal: $100.00 USD
Sales Tax: $0.00 USD
So like this?
form
input type=checkbox name=whatever onClick='$
('#form_id').ajaxSubmit()'
/form
http://groups.google.com/group/jquery-en/browse_thread/thread/b15fa8db4db5deeb
This might be the answer we're looking for:
http://groups.google.com/group/jquery-en/browse_thread/thread/961a893390a9f9b2
You haven't installed the plugin properly, or you haven't specified
the action attribute of the form.
double check everything and make sure you READ the jQuery Form plugin
documentation:
http://www.malsup.com/jquery/form/
On Jan 15, 1:14 pm, Giovanni Battista Lenoci [EMAIL PROTECTED]
wrote:
options.url.indexOf is not a function
options.url += (options.url.indexOf('?') = 0 ? '' : '?') + q;
jquery.form.js (line 209)
What version of the plugin are you using? I believe that is a bug
that was fixed. And I believe that Diego is right in that you would
only hit that bug if you had
Use the ajaxSubmit method:
$('#form_id').ajaxSubmit()
1. jQuery ajaxSubmit()
be.twixt.us/jquery/formSubmission.php
2. jQuery Form Plugin
www.malsup.com/jquery/form/
On Jan 14, 3:58 pm, Giovanni Battista Lenoci [EMAIL PROTECTED]
wrote:
Hi, I'm using this fantastic plugin but if I try to submit
8 matches
Mail list logo