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

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!
LVL 11
Andrew AngellCo-Owner / DeveloperAsked:
Who is Participating?
 
callrsCommented:
<form target="_blank">
<input  type=submit onclick="this.disabled=true">
</form>
0
 
Andrew AngellCo-Owner / DeveloperAuthor Commented:
well that was amazingly easy.  thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.