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"
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.