Users on my site can select items from a form and when they click submit I create a pdf and download it. Now I have the form working, the submit creates the pdf and the result downloads without any issues.
The problem is that it can take 5 - 10 seconds to generate the pdf. Is there a way to use jquery to display an animated progress image when the user clicks submit and remove it when the download window pops up? I can add js code to display the animated gif, but how do I know when to remove it? Thanks!