浏览文件夹的输入字段 [英] input field for browsing folder

查看:77
本文介绍了浏览文件夹的输入字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

带有用于浏览文件的文件类型的输入字段.如何使其用于浏览文件夹.

input field with type file used for browsing file .How to make it for browsing folder.

推荐答案

您不能. input type=file控件仅限于一次选择一个文件.

You can't. The input type=file control is limited to picking one file at a time.

如果要选择多个文件,则可以采用多种方法,即基于Flash的上传器,基于Java和ActiveX的组件.基于Flash的上传器是最好的选择,并且周围有开放源代码的上传器.查看 SWFUploader .

If you want to pick multiple files, there are various ways, Flash based uploaders, Java and ActiveX based components. The Flash based uploaders are the best bet, and there are Open Source ones around. Check out SWFUploader.

这篇关于浏览文件夹的输入字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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