/ Published in: jQuery
Expand |
Embed | Plain Text
var xhr = $.ajax({ type: "HEAD", url: "path/to/file.ext", success: function(msg){ alert(xhr.getResponseHeader('Content-Length') + ' bytes'); } });
You need to login to post a comment.
