How to know when a download has finished?

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-03-30T16:24:23Z Indexed on 2010/03/30 16:33 UTC
Read the original article Hit count: 440

Filed under:
|

Hello,

Is there a way to tell if when a download has finished? That is, we allow users to download a report in PDF format. It takes about 3 - 5 seconds to start downloading and in this time, from click to end of download, show a wait state icon so that the user doesn't click multiple times.

Thanks! Eric

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery