Revision: 39621
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 19, 2011 05:49 by ezerick
Initial Code
var xhr = $.ajax({ type: "HEAD", url: "path/to/file.ext", success: function(msg){ alert(xhr.getResponseHeader('Content-Length') + ' bytes'); } });
Initial URL
Initial Description
Initial Title
Get size of file requested via ajax
Initial Tags
Initial Language
jQuery