This blog guides you how to validate an image file at the client-side, using JavaScript and jQuery.
Step 1
Create HTML file with the code given below.


Step 2
Now, create a file_validation.js file with the code given below.


Step 3
Now, check it on the Browser with the file path on your localhost/Server.



Kantesh SinhaPosted Jan 31, 2017, 3:52 AM
Nice blog manoj.Hope to see some more of you