I have a submit button that submits the pdf to a server. It is functioning properly. But I was wondering if there is any way that I can write a javascript that checks for the success of the document being submitted to the server? The reason I want to do this is because I want it to save automatically in a certain directory called Not Submitted if it fails. Any help would be much appreciated.
↧