You are here: Why doesn't accept work in file upload controls? « HTML « IT news, forums, messages
Why doesn't accept work in file upload controls?

Posted by Andrea Desole on 10/15/64 11:25

I'm trying to implement a file upload to upload only xml files. I tried
accept="text/xml", but that doesn't seem to work, with both Firefox and
IE (which is the browser I am writing the application for). The only
information I found tells me that browsers usually disregard the accept
attribute, for a reason that I absolutely can't understand. Accept is
part of HTML, and there is no reason for me not to consider it. Also,
specifying what files to show in an open dialog looks to me a perfectly
normal thing to do.
Can anyone explain this strange behavior, and if there is a solution for
that?
Thanks

Andrea

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация