jQuery to prevent multiple submit on a form

/ Published in: jQuery
Save to your folder(s)

To prevent multiple submit from sending more than one request,
bind the submit event and store a "disabledOnSubmit" data. Next time the event "submit" will be fire, the following jQuery code will return false. All submit buttons are also disabled (nice user feedback).

URL: http://blog.damienalexandre.fr/index.php?post/2009/08/02/jQuery-eviter-la-soumission-multiple-d-un-formulaire

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.