• Post Reply Bookmark Topic Watch Topic
  • New Topic

accept attribute in <html:file

 
Missy Suraj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!

i want to have file filter in html file upload.
My code is

<input type="file" accept="application/xml,appliocation/csv" />

this is working fine in opera but not in browsers like IE and Mozilla..

Any help???

thanks
 
Raj Chila
Ranch Hand
Posts: 128
Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Hope its not because of the typo
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!