Is there a way in JS to get the progress of a loading image while the image is being loaded? I want to use the new Progress tag of HTML5 to show the progress of loading imag
for xmlhttpreq v2 check, use:
var xmlHTTP = new XMLHttpRequest(); if ('onprogress' in xmlHTTP) { // supported } else { // isn't supported }