如何打开文件选择器,可以在资源管理器中选择多个文件 [英] how to open file chooser that can choose multiple files in Explorer

查看:160
本文介绍了如何打开文件选择器,可以在资源管理器中选择多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够打开文件选择器对话框,从中我可以从同一个dircetory中选择多个文件。与添加附件到gmail提供的行为类似。
只有我不需要立即通过Ajax上传文件。我按下该对话框的提交按钮后可以上传我选择的文件。

I want to be able to open a file chooser dialog, from which I will be able to choose more than one file from the same dircetory. Similarly to the behavior that 'add attachment to gmail' provides. Only I don't need to upload the files immediately through Ajax. the files that I chosed can be uploaded later when pressing on the submit button of that dialog.

我可以使用的技术是:

html,javascript ,, JQuery(只有在真的需要的时候) JSP,java

The technologies that are available for me are:
html, javascript,, JQuery (only if it's really needed) JSP, java

谢谢

推荐答案

以前的研究(和现在快速谷歌搜索),似乎你不能单独使用带有一个输入选择的HTML / Javascript。但是,有很多Flash上​​传器可以让你这样做。但是,由于Flash不是您列出的技术之一,我不确定您是否想要走这条路......

From previous research (and a quick Google search now), it appears that you can't do that solely with HTML/Javascript with one input selection. However, there are lots of Flash uploaders that will let you do this. But, since Flash is not one of your technologies listed, I'm not sure if you want to go that route...

这篇关于如何打开文件选择器,可以在资源管理器中选择多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆