In my application, I have a link named "Export to PDF". On click of that link I will submit a form and I am writing PDF files to that response object which would show modal-dialog in the browser (example-image below)
Requirement is to show an progress-bar using jQuery which would stop once this dialog box pops-up. Please tell how to identify this and start/stop animation. Please help me on this