[英]Input type = “file” multiple | select multiple files
can you tell me how I in <input type = "file" multiple>
that it can make when selecting a file and then go and have a file selects it the other remains listed? 您能告诉我如何在<input type = "file" multiple>
中选择文件时进行选择,然后选择一个文件来列出其他文件吗?
can you send me a javascript for example? 可以给我发送一个JavaScript吗? Or do I have to use what else? 还是我必须使用其他东西?
eg 例如
You select a file: 您选择一个文件:
Selected one file 选择了一个文件
You choose a file from again before pressing upload: 您可以在按上载之前再次从中选择一个文件:
Selected 2 files 选择了2个文件
Hopefully you understand what I mean. 希望你明白我的意思。 Thanks for your help! 谢谢你的帮助!
<input type = "file" multiple>
allows you to select multiple files from the same file open dialog (usually with Ctrl+click) But be careful, this is not supported for older browsers (eg IE9) <input type = "file" multiple>
允许您从同一文件打开对话框中选择多个文件(通常使用Ctrl + click),但是请注意,较旧的浏览器(例如IE9)不支持此操作
If you want multiple file open dialogs, you need multiple <input type = "file">
tags (either statically or dynamically inserted into the webpage) 如果要打开多个文件对话框,则需要多个<input type = "file">
标记(以静态或动态方式插入到网页中)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.