I am trying to implement the accept attribute so that the user can only upload files of type gif and jpeg:
<input name="uploadedFile" type="file" accept="image/gif, image/jpeg">
But it does not seem to have any effect. I can still upload any file. any ideas...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.