Before uploading files via a HTML-form, I want to do some client-side validating.
E.g. to check the filesize of the file selected by the user to upload.
Filesize should be,say, between 5MB and 50 MB.
My 'feeling' says there should be such an instruction in Javascript, but I can't find one!