As Karl said, it's practically impossible for JavaScript to obtain this kind of information. However, you may want to look at this:
http://www.nabble.com/jQUpload---request-for-features-tf3189691.html It's going to use Flash to upload the file, and Flash *does* know how large the file is (see http://livedocs.macromedia.com/flash/8/main/00002223.html) On 2/12/07, Karl Rudd <[EMAIL PROTECTED]> wrote:
Unfortunately web browsers don't expose that sort of information to JavaScript, at least not in a cross-browser manner. So no, jQuery doesn't. Karl Rudd On 2/13/07, Ram Peters <[EMAIL PROTECTED]> wrote: > Does jQuery support File Size Check before uploading? Lets say only > max 2MB upload size allowed. > > Thank you > john > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
-- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
