Solved

How to disable submit button once it's clicked....???

Posted on 2006-11-20
2
823 Views
Last Modified: 2008-11-22
I'd like to disable the submit button for my forms once it's pressed to avoid problems when the user double clicks it or gets impatient and clicks again after waiting a moment.

Any information I can get on this would be greatly appreciated.  Thanks!
0
Comment
Question by:Andrew Angell
2 Comments
 
LVL 30

Accepted Solution

by:
callrs earned 500 total points
ID: 17982569
<form target="_blank">
<input  type=submit onclick="this.disabled=true">
</form>
0
 
LVL 11

Author Comment

by:Andrew Angell
ID: 17983063
well that was amazingly easy.  thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AJAX ModalPopupExtender will Not Hide in Asp.net 1 30
Bootstrap Form 16 37
arrays and buttons with user input 2 31
Add - in a loop to first and last element. 6 31
In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question