troubleshooting Question

asp classic hide after successful submit

Avatar of Wayne Barron
Wayne BarronFlag for United States of America asked on
19 Comments1 Solution1275 ViewsLast Modified:
Hello All;

I am submitting my page using AJAX.
I know how to HIDE the button using the <div> tag, upon button click.
However, I need to ONLY hide the button on a successful submit.

OK, the Code on the process page is something like this.

if Field1="" then
response.write "Please fill in Field Area"
response.write "Thank you, the form has been submitted successfully"
end if

So, what needs to happen here, is, the script needs to see if the form has been success and if so, [Hide] or [Disable] the submit button, this way, the person cannot accidentally make another submission.

Thank You
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 19 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 19 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