I am using below code to restrict user to upload file formats i.e. in upload dialogue he will be able to see only those particular files.
type="file" accept=".pdf,.jpg,.jpeg,.jpe,.jfif,.tif,.tiff,.doc,.docx,.xls,.xlsx,.csv"
It works fine in Chrome, Mozilla and IE9 and above. But this is not working in IE8 and Safari.
How can I restrict in IE8 and Safari?