我正在使用此处的 jQuery 多文件上传插件:
http://www.fyneworks.com/jquery/multiple-file-upload/
我在任何示例中都没有看到“重置”文件选择器的方法, 清除所有当前选定的项目。
有人知道该怎么做吗? 谢谢!
最佳答案
来自下载中包含的文档。还注意到 Upload文档页面(滚动到底部,在 AJAX 下)。
How do I reset the control?
To reset the file selections, just make the following call:
$('input:file').MultiFile('reset')
关于jQuery MultiFile - 如何清除/重置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1877378/