input field for browsing folder

大憨熊 提交于 2019-12-24 22:06:27

问题


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


回答1:


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

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.




回答2:


You would have to use server side or some ActiveX to do this as javascript does not support this



来源:https://stackoverflow.com/questions/2176184/input-field-for-browsing-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!