I want to show an "In Progress" and "Completed" message when a user downloads a file. A user downloads a file by clicking a button:
<input id="pdfBtn" type="button" value="Download PDF..." onclick="location.href='@Url.Action("GetPdfFile")'"/>
I have some jQuery that fades out the button and shows the "In Progress" message when a user clicks the button, but I'm not seeing a way to know when the file finishes downloading. I've tried a few different approaches that didn't work and my Google queries aren't returning anything helpful. Suggestions?