Disable Submit | JavaScriptSource

Disable Submit

JavaScriptSource Staff Sep 9, 2000
(Internet Explorer only) When the form is submitted, any submit and reset buttons are disabled. This prevents the user from submitting the form repeatedly, whether by accident or on purpose. The form will just act normally for Netscape users. Great!

The JavaScript Source: Forms: Disable Submit

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

1 comment)

I have a matrix of images, each of which, when clicked, adds a code into a text element. Each click, however, submits the form. How can I stop this?

Mark Sitkowski Sep 6, 2012