I'm using input control with type=file. But it's accepting all type of file. I want to restrict only image file. How we can achieve this?
I'm trying with following code:
<input type="file" name="picture1" accept="image/*">
But when try to browse default it's showing only images file but user able to select other file types also.
Views: 7336 Total Answered: 3 Total Marked As Answer: 1 Posted On: