Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1636 How can I stop a user from hitting the Submit button twice?

You are here: irt.org | FAQ | JavaScript | Form | Q1636 [ previous next ]

Try:

<form onSubmit="if (this.submitted) return false; this.submitted = true; return true">
<input type="submit">
</form>

Feedback on 'Q1636 How can I stop a user from hitting the Submit button twice?'

©2018 Martin Webb