Questions tagged [double-submit-prevention]
49 questions
183
votes
24 answers
Prevent double submission of forms in jQuery
I have a form that takes a little while for the server to process. I need to ensure that the user waits and does not attempt to resubmit the form by clicking the button again. I tried using the following jQuery code: