JS - HTML WebForm Submission - prevent duplicate submit

I've seen some companies that have a mechanism for the SUBMIT button such that if it's already been submitted (in the process of submitting)  and perhaps their internet is slow (or whatever),  clicking a second time shows a message that the form was already submitted, and does not end up with the business receiving a duplicate form.

What is the strategy to accomplish this duplication prevention?

thanks
willsherwoodAsked:
Who is Participating?
 
slightlyoffConnect With a Mentor Commented:
Here's one way:

http://www.4guysfromrolla.com/webtech/100406-1.shtml
(disables the submit button)

and this one is probably a little closer to what you were looking for:

http://www.javascriptsource.com/forms/submit-once.html
0
 
willsherwoodAuthor Commented:
excellent, THANKS!
0
All Courses

From novice to tech pro — start learning today.