Hi,
How to detect browser window or tab close event or a redirection on client side.
My requirement is, in my project while submitting a form I am uploading files asynchronously and i dont want user to close the tab or move to the different page until the uplaoding is done. I simply want to show a popup to user to wait until all files are uploaded.
How to achive this using javascript or jQuery??
Kind Regards,
Jay