I am writing a client/server application and users are going to be accessing server side documents via their web browser. I was wandering if there is any client side event like an "onsave" event so that i can capture when users go to "File > Save As".
I need this becouse i have a script that i am going to modify that goes into the clients machine and uploads files onto the server. In this scenerio, if the user is revising a server side document and clicks "File > Save As" i will prompt the user and ask if he/she would like to save the file on the server also. If they pick yes then i will overwrite the server side document with their local modified document.
Any ideas about how to get this to work or what event i can use?
I need this becouse i have a script that i am going to modify that goes into the clients machine and uploads files onto the server. In this scenerio, if the user is revising a server side document and clicks "File > Save As" i will prompt the user and ask if he/she would like to save the file on the server also. If they pick yes then i will overwrite the server side document with their local modified document.
Any ideas about how to get this to work or what event i can use?