Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά παραβίασης».

Μάθετε περισσότερα
Αυτό το νήμα αρχειοθετήθηκε. Κάντε νέα ερώτηση αν χρειάζεστε βοήθεια.
Επιλύθηκε Αρχειοθετήθηκε

input type file, How to filter only .csv

cor-el απαντήθηκε
somjet

use firefox 21.0 use <input type="file" accept="xxx" />


how to filter only .csv (***not include all file) when browse dialog


I try to use


.csv (show all file)


text/csv (show all file and .csv)


application/csv (show all file)


text/comma-separated-values (show all file)


help me, please thank you somjet

use firefox 21.0 use <input type="file" accept="xxx" /> -------------------- how to filter only .csv (***not include all file) when browse dialog ------------------ I try to use ---------------- .csv (show all file) ------------------- text/csv (show all file and .csv) ---------------- application/csv (show all file) ----------------- text/comma-separated-values (show all file) -------------------- help me, please thank you somjet

Τροποποιήθηκε στις από τον/την somjet

Προβολή απάντησης εντός συζήτησης

Επιλεγμένη λύση

Looks that there is still work to be done:

  • bug 826176 - File extension support for <input accept="..." < li>

Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

Όλες οι απαντήσεις (7)

If you are wanting a selected list of files in an input window, try; <*.csv> By asking for <.csv> you are asking for a file with the extention of csv with no file name.

thank fredmcd-hotmail

I try this <input type="file" accept="*.csv" /> but it don't work. when browse dialog it show All file (*.*). Have other idea?

thank cor-el


I try MIME Type 1. text/csv (show all file and .csv) 2. text/comma-separated-values (show all file)


but I want show only .csv in dialog browse filter (text/csv show 2 type *.* and *.csv I want to show only *.csv)


Have other solution?


thank you somjet

Τροποποιήθηκε στις από τον/την somjet

Επιλεγμένη λύση

Looks that there is still work to be done:

  • bug 826176 - File extension support for <input accept="..." < li>

Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

thank cor-el I will wait it in new firefox version.


thank you for all answer. somjet

You're welcome somjet