marouanemeft
Programmer
I have an html form that has an iframe as it's target.
When the user clicks the submit button, I start a javascript timer and when the results displayed in my iframe I stop the timer by catching the onload event for my iframe.
The user can choose to download the results to disk instead of having them displayed on the iframe. But when the user chooses this option the iframe doesn't load anything and so I can not stop my timer.
Is there anyway I can write some hidden html to the iframe so it loads something so I can stop the timer. Or better yet is there anyway I can catch the File Download dialog pop up on the browser?
Thank you very much.
When the user clicks the submit button, I start a javascript timer and when the results displayed in my iframe I stop the timer by catching the onload event for my iframe.
The user can choose to download the results to disk instead of having them displayed on the iframe. But when the user chooses this option the iframe doesn't load anything and so I can not stop my timer.
Is there anyway I can write some hidden html to the iframe so it loads something so I can stop the timer. Or better yet is there anyway I can catch the File Download dialog pop up on the browser?
Thank you very much.