When Does the File Download Dialog Open? - HTML, Javascript
- by sahs-i-muhterem
Hello, I have a html page, and when I click a file link on the page, the file download dialog pops up, and this file dialog locks the page. I mean without selecting one of the choices(Open, Save, Cancel) I can't do anything on the page (which is normal). What I need is if javascript can check whether the page is locked or not. (or whether the file dialog is popped?)
p.s. don't say "put an onclick event to the link", because the server may respond very slowly (like 30 seconds after clicking)