English 中文(简体)
如何在html/java/Jquery中“双倍增长”
原标题:how to "browse for folder" in html/javaScript/Jquery
<input type="file"> only allows the user to browse for files.

How about "browse for folder" dialog? Can html/javascript do that? I couldn t find any syntax for that. If not, please advise what are the other approaches.

请咨询。 感谢!

问题回答

只要你重新建立网站,就别无选择在客户电脑上保存一个档案,然后让他/她下载,(如我的评论所述)下载到他的下载盒上,或出示a dialog,让他选择directory

你们可以做多个卷宗,选择闪电的方言,但对于客户机器的夹来说,至少需要与 Java的 app光。

Try this,

<input category=“file” webkitdirectory multi/>

Note: "webkitdirectory" won t work on IE, It will works as "browse for file" dialog".





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签