[英]Ability to choose multiple files in the file browser using the browse button
When I click on the browse button input type='file'
, I get to choose only one file at a time. 当我点击浏览按钮
input type='file'
,我一次只能选择一个文件。 Is there any way to choose multiple files? 有什么办法可以选择多个文件? Also is there any way to see the files in thumbnail view?
还有什么办法可以在缩略图视图中查看文件?
Yes, there is. 就在这里。 In HTML5
<input type="file">
can have attribute "multiple"
在HTML5中,
<input type="file">
可以具有属性"multiple"
Old article about that: http://rakaz.nl/2009/08/uploading-multiple-files-using-html5.html 与此相关的旧文章: http : //rakaz.nl/2009/08/uploading-multiple-files-using-html5.html
Example. 例。 (works in Firefox and Chrome/Iron)
(适用于Firefox和Chrome / Iron)
您只能使用Flashify插件(例如uploadify)选择多个文件,对于缩略图,您需要一个Java小程序
我无法知道多个文件,但是如果他们需要执行多个文件,则可以将文件控件动态添加到页面中。
You can use Flash for your file uploads. 您可以使用Flash进行文件上传。 Flash will allow you to open a file dialog that will allow multiple file selections.
Flash将允许您打开一个文件对话框,该对话框允许选择多个文件。
Google " flash multiple file uploader " and you will see many examples. Google“ 闪存多个文件上传器 ”,您将看到许多示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.