How can I validate the file size on the client side using JavaScript? I am using type=file for selecting the file
type=file
I would like to combine the two different ways of checking file size on client side using javascript. I have tested it on FF/IE/Chrome and it works fine: