When Does the File Download Dialog Open? - HTML, Javascript

Posted by sahs-i-muhterem on Stack Overflow See other posts from Stack Overflow or by sahs-i-muhterem
Published on 2010-04-02T11:25:23Z Indexed on 2010/04/02 11:53 UTC
Read the original article Hit count: 288

Filed under:
|
|

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)

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html