XMLHttpRequest 2has a new thing. It can upload files. I got this job (it is very easy). Now I am wondering if there is a way to get the download progress of this file. I would not be interested in this, but in Google Chrome (8) I saw that the onreadystatechange event is equal XMLHttpRequestProgressEvent. Progress ... There is nothing about the progress of the download (just the status of the request), but it made me think.
Google Chrome has a progress counter when downloading large files initially. This is the standard. He is always there and uncomfortable. It is in the status bar. Is there something similar with Javascript? I would like to add it to a good item <progress>or something else.
I don't want SWF or Java loaders (with polls and> JS callbacks). He must be native. If the browser can do this, nowadays Javascript should do it, right !? =)
In the absence XMLHttpRequest 2, I think it would be impossible with the most standard file upload (without ajax and just <input type=file>).
thanks for the info
Rudie source
share