Hello!

I'm creating pdfs as part of a website. When the user clicks on "Create PDF", a third-party application does the transformation of some html to pdf via php code. The process takes about 10 seconds and I don't want the user to press the submit button more than once. So, I was thinking that I could use a javascript/jquery function to show an alert box while the behind the scene process occurs. While I can use an onclick function to show the initial alert, can I tell via javascript when the process has ended?

Thank you,

Eric