I would like to show the loading progress of some document inside iframe. I created this JavaScript execution schedule and now I want to use it as an indicator of download progress. I know this is possible when used with ajax, but what about loading the file / document in the traditional way.
I tried searching inside MSDN for a solution, and now I am wondering if I can use any of them:
- window.onreadystatechange / document.onreadystatechange
- document.onprogress event - I'm not sure if it is supported by other browsers than IE, and if at all applicable to the download.
or should I look somewhere else ...?
source share