Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

how to detect if download has finished in order to hide the spinning loading gif ?

$
0
0
Hi,
 
is there such way/method/strategy to detect if the downloading of a file is finished?..my problem is like this.
 
Scenario:
when click the report generator button, a loading wheel icon appears because it takes a while to generate the spreadsheet...and now, when the download has finished and the spreadsheet was saved in the client's machine, the loading wheel icon is still there spinning.. the only way that I think of to remove that spinning wheel is by detecting if the downloading is finished and then hide the spinning wheel ..so how ? :confused:

Viewing all articles
Browse latest Browse all 13200

Trending Articles