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?
Thanks!
<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?
Thanks!