上载压缩文件 [英] uploading a zipped file
本文介绍了上载压缩文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们!
你能帮我吗?在Ajax上传器中,当我单击openfile对话框中的打开"按钮时,我希望所选文件显示在列表框中...我该怎么办?请帮助..:)
Hi friends!
can you pls help me out? In an Ajax Uploader,when I click the "open" button in the openfiledialog, I want the selected files to be displayed in a listbox...How can I do that?Pls help.. :)
推荐答案
尝试从文件输入控件中读取文本,然后使用javascript将其添加到列表框中.但是由于最新的安全补丁不允许您随意摆弄,因此可能会被阻止.另一种可能的解决方案是在用户填充新文件输入控件后动态添加它.这样就可以简单地扩展,而不必显示最初的50个文件输入控件.
祝你好运!
Try read the text from the file input control and add it to a listbox using javascript. Could be blocked though because latest security patches don''t let you fiddle around with it. Another possible solution is to dynamically add a new file input control after the user filled it. This way simply expanding without having to show an initial 50 file input controls.
Good luck!
这篇关于上载压缩文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文