Hi guys,I got trouble in the function that the size of the attachment should be limit in 20MB before uploading to the server.I want to calculate its size in the client without using flash uploader.Does any one have ideas?I will appreciate all of your kind heart.
This cannot be done in Javascript. Javascript is client-side language and has no dealings with uploads or filesystem issues in general. You will instead need to query the uploaded headers on your form handler page, through something like PHP's $_FILES constant.
Bookmarks