Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • 1 odpoveď
  • 2 majú tento problém
  • 2 zobrazenia
  • Posledná odpoveď od Gingerbread Man

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>

Upravil(a) MC-Derek dňa

Všetky odpovede (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