Menu
Hello JavaScript masters.
I have a formmail script that allow users to upload certain files (You can only get to the form after authencating). Some times the files gets pretty big. So, I would like to limit the file size on the client-end rather than the backend wasting resources. Is this possible using JavaScript? Also, is it possible to use JavaScript to validate their mime type in the client-end as well.
Thanks.