[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2006-11-20
2
Medium Priority
?
829 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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…
Suggested Courses

872 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