Enable Submit Button | JavaScriptSource

Enable Submit Button

David Walsh Jan 21, 2009

General

This small script will disable the submit button and then re-enable it after a period of time. Useful for preventing duplicate submittals but also allows resubmission, if needed.


Notes

Note: Requires the MooTools library

Source Code

Paste this source code into the designated areas.

Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(0 comments)