如何使用 <input type="file">
选择多个文件?
最佳答案
新答案:
在 HTML5 中,您可以添加 multiple
属性选择多个文件。
<input type="file" name="filefield" multiple="multiple">
旧答案:
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.
关于javascript - 如何使用 <input type ="file"> 选择多个文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1593225/