troubleshooting Question

disable submit button

Avatar of lauras2010
lauras2010 asked on
JavaScriptCSSPHP
40 Comments1 Solution933 ViewsLast Modified:
I'm using a plugin that generates a form. The code for the submit button is simply:
<p class="submit"><input type="submit" name="Submit" value="Submit" /></p>

(The code for the form tag is:
<form action="" enctype="multipart/form-data" method="post" class="frm-show-form" id="form_2qo9k1">
)

I would like to be able to disable this button temporarily once the user has clicked on it (and post a message saying "Processing your form ... please wait").

I found another post on this but it seemed to require an onClick inside the <input> tag, but I don't think I'll have control over the <input> tag.

TIA for any help,
Laura S.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 40 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 40 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros