Using jquery to prevent resubmitting form
Posted
by Tony
on Stack Overflow
See other posts from Stack Overflow
or by Tony
Published on 2010-05-14T02:14:03Z
Indexed on
2010/05/14
2:24 UTC
Read the original article
Hit count: 259
I use jquery's .submit() to intercept user's submit event, however I found a problem.
When the user single click the submit button, the form is submitted normally, but if a user deliberately fast click it multiple times, it will submit multiple times, which will cause duplicated data in the database.
What's the solution for this kind of problem ?
© Stack Overflow or respective owner