T
Tim B
Is there a way in javascript to detect that the file download dialog box
has appeared or has closed? Suppose I have a form that when submitted makes
a request that could take awhile to complete. The response would be a file
generated on the server - e.g. a pdf file. When the form is submitted I show
some sort of message or graphic, like "please wait...". When the file is
ready and a dialog box pops up indicating it's ready, or when the user
closes that dialog box, I want to remove the message. I could set up some
sort of polling process, but I want to keep things simple.
has appeared or has closed? Suppose I have a form that when submitted makes
a request that could take awhile to complete. The response would be a file
generated on the server - e.g. a pdf file. When the form is submitted I show
some sort of message or graphic, like "please wait...". When the file is
ready and a dialog box pops up indicating it's ready, or when the user
closes that dialog box, I want to remove the message. I could set up some
sort of polling process, but I want to keep things simple.