Ability to choose multiple files in the file browser using the browse button

隐身守侯 提交于 2020-01-25 03:40:08

问题


When I click on the browse button input type='file', I get to choose only one file at a time. Is there any way to choose multiple files? Also is there any way to see the files in thumbnail view?


回答1:


you can choose multiple files only with flash plugins like uploadify, for thumbnails you'd need a java applet




回答2:


Yes, there is. In HTML5 <input type="file"> can have attribute "multiple"

Old article about that: http://rakaz.nl/2009/08/uploading-multiple-files-using-html5.html

Example. (works in Firefox and Chrome/Iron)




回答3:


No way for multiple files that I know of but you can dynamically add file controls to the page if they need to do multiple files.




回答4:


You can use Flash for your file uploads. Flash will allow you to open a file dialog that will allow multiple file selections.

Google "flash multiple file uploader" and you will see many examples.



来源:https://stackoverflow.com/questions/3389768/ability-to-choose-multiple-files-in-the-file-browser-using-the-browse-button

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!