Results 1 to 4 of 4

Thread: Input accept attribute in Firefox

  1. #1
    Join Date
    Nov 2009
    Location
    Isfahan, Iran
    Posts
    229
    Thanks
    46
    Thanked 1 Time in 1 Post

    Default Input accept attribute in Firefox

    According to MDN accept=[MIME type] is supported in Firefox. However, I tried the following to no avail:

    Code:
    <input type="file" accept="text/html">
    It doesn't filter the HTML files: demo.
    Is it a bug or am I missing something?

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there Rain Lover,

    I am pleased to comfirm that you are not missing something.


    coothead

  3. The Following User Says Thank You to coothead For This Useful Post:

    Rain Lover (05-11-2014)

  4. #3
    Join Date
    Nov 2009
    Location
    Isfahan, Iran
    Posts
    229
    Thanks
    46
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by coothead View Post
    Hi there Rain Lover,



    I am pleased to comfirm that you are not missing something.


    coothead
    Thanks for the link!

  5. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default


    No problem, you're very welcome.

    coothead

Similar Threads

  1. Resolved control input fields 'type' attribute jQuery
    By ggalan in forum JavaScript
    Replies: 0
    Last Post: 05-22-2012, 04:10 AM
  2. Replies: 0
    Last Post: 07-14-2009, 08:49 AM
  3. Replies: 0
    Last Post: 03-06-2009, 06:42 PM
  4. Replies: 5
    Last Post: 06-22-2007, 05:21 PM
  5. Replies: 3
    Last Post: 08-14-2006, 05:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •