I dont know if my problem has any relation.... (I am using form &
validate pluggin)

- I have a form with a submit button. (Submit button call a asp page
to save all fields)

- I have next code:

jQuery('#seccionesForm').submit(function()
{
var options = {
beforeSubmit: preSubmitSeccion, // pre-submit callback
success: postSubmitSeccion // post-submit callback
};

jQuery("#seccionesForm").validate(
   {
   submitHandler: function(form)
     {
         jQuery("#seccionesForm").ajaxSubmit(options);
            return false;
     }
});
}

Then:
First click on submit button : works nice.
Second click on submit button: send the form twice
3 click: send form 3 times...

Any idea why is send more than one time?


Reply via email to