Psst.. XMLHttpRequestUpload
† It's the downloading with Ajax that is the problem. There's no way to tell how big the file is.
var xhr = $.ajax({ type: "HEAD", ... xhr.getResponseHeader('Content-Length')
Psst.. XMLHttpRequestUpload
† It's the downloading with Ajax that is the problem. There's no way to tell how big the file is.