Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Awesome jQuery File Upload. Parent comment
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.