Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

does FireFox support <input type="file" accept = "file_extension">

more options

The code below (should?) list only the file types listed but when I use FF 32.0.2 it lists ALL Files (*.*) The code is copied from http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_accept

<form action="demo_form.asp"> <input type="file" name="pic" accept=".docx, .doc, .pdf"> <input type="submit"> </form>

<!DOCTYPE html> <html> <body> The code below (should?) list only the file types listed but when I use FF 32.0.2 it lists ALL Files (*.*) The code is copied from http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_accept <form action="demo_form.asp"> <input type="file" name="pic" accept=".docx, .doc, .pdf"> <input type="submit"> </form> </body> </html>

Geändert am von MC-Derek

Alle Antworten (1)

more options

Sorry, this doesn't work at the moment. It's a known issue. Feel free to vote for the report to keep track of any progress, but please don't post comments unless you have technical information to add. See the Bugzilla etiquette page for details.

  • Bug 826185 - Inconsistent <input accept=...> behavior