![enter image description here][1]I want to validate image size before submitting form via javascript. But in eclipse:
var filesize=filename.files[0].size
where filename is var that stores path of image is not working.
It is not supported. Can any one please help me to find solution of this or tell me any other alternative to check size of image on client side before submitting the form