File download complete callback

后端 未结 1 1140
情深已故
情深已故 2021-01-18 00:01

I would like to able to track, purely on the client side, the progress of a file download, especially file download completion.

Is there a JavaScript API that allows

相关标签:
1条回答
  • 2021-01-18 00:14

    No, this is not possible using pure javascript. There are some techniques though involving using cookies from the server and continuous poll from the client. I've illustrated an example here:

    Hide image using Javascript after controller action is complete MVC3

    0 讨论(0)
提交回复
热议问题