I am using the jquery Form plugin to submit the form.
Everything is working correctly.
But when i turn on the firebug console and i hit submit buttom then i see 10 post requests with same data.
I even tried disabling the submit button but even then i see 10 post requests with same post data and response.
What is the problem
EDIT: this is what i am using
$(".myform").ajaxForm(options);
$('.myform').submit(function() {
$(this).ajaxSubmit();
return false;
});
When
is called you immediately submit the form. For your application it might be enough to only have
or you might need to wrap
in a function that is called when the submit button is pressed. I’m a little bit guessing here since I’ve only seen the limited code you’ve posted.