You need to add the multiple attribute to your input.
<input type="file" multiple />
You can also add webkitdirectory , directory and / or mozdirectory to indicate that you want to allow users to download entire folders. They are not standard, obviously (although a simple ol directory is / maybe)
Then, in your JavaScript, your input element will have an array of files containing meta-information for the selected files, matured for use in the FileReader API. For example:
<input type="file" multiple onchange="doSomethingWithThese(this.files)" />
(I do not recommend inline JavaScript, for example)
Matt Greer Apr 27 '11 at 18:05 2011-04-27 18:05
source share