<input type="file"> only allows the user to browse for files.
“浏览文件夹”对话框怎么样?html/javascript能做到这一点吗?我找不到任何对应的语法。如果没有,请告诉我其他的方法。
请给我建议。谢谢!!
发布于 2013-11-24 21:52:12
你可以用flash做多个文件选择对话框,但对于客户端机器上的文件夹,至少需要Java applet。
发布于 2014-09-26 01:12:38
尝尝这个,
<input type="file" webkitdirectory multiple/>
注意:"webkitdirectory“在IE上不起作用,它将起到”浏览文件“对话框的作用。
https://stackoverflow.com/questions/12129039
复制相似问题