I'm trying to come up to a quick solution for fixing someone elses code.... When a user clicks "Submit", some sql code executes that inserts over 500 rows of data. While the is inserting, I don't want the user to be able to click submit again. How can I disable the button once they click it, and then display a confirmation message saying "please wait while your request is being processed" and then another confirmation message saying "Your request has been processed"?
...
Go to the complete details ...