mercredi 4 novembre 2015

file picker should accept pdf, docx,doc but accepting only pdf

I have file picker and what I need is my file picker should accept only pdf, docx and doc. What I did as follows:

<input name="Upload Saved Replay" type="file" accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>

But it only accepting pdf. Not taking doc and docx

FIDDLE

Aucun commentaire:

Enregistrer un commentaire