Client side validate file upload field
I need to know if it's possible for client side validation to a file upload field. Validating file types with Validation toolkit, no problem but I need to validate the file size the client intend to upload before it gets uploaded. Some are saying it cannot be done, the file still gets uploaded to a temp directory, do the validation and return whatever. I think if thats the case it's a waste of resources.