I am making an ajax request with XMLHttpRequest to show the progress of the request. It works fine with the html file, but evt.lengthComputable returns false with the php file.
My php file is encoded in utf-8 and does not contain anything special.
xhr: function() { console.log('xhr'); var xhr = new XMLHttpRequest(); xhr.addEventListener('loadend', uploadComplete, false); function uploadComplete(event) { console.log('uploadComplete');
Thanx for help :)!
source share