javascripthtmlfile-upload

How to select multiple files with <input type="file">?


How to select multiple files with <input type="file">?


Solution

  • New answer:

    In HTML5 you can add the multiple attribute to select more than 1 file.

    <input type="file" name="filefield" multiple>
    

    Old answer:

    You can only select 1 file per <input type="file" />. If you want to send multiple files you will have to use multiple input tags or use Flash or Silverlight.