如何通过JavaScript打开FileUpload [英] How to open FileUpload by javascript
本文介绍了如何通过JavaScript打开FileUpload的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发自定义文件上传控件.它包括文本框和图像按钮.我设法隐藏了fileUpload,但是现在单击图像按钮时无法打开fileUpload.你能帮我做吗?在此先感谢您.
I''m developing custom file upload control. It includes textbox and image button. I managed to hide fileUpload but now cannot to open fileUpload when to click on my image button. Could you help me to do it? Thanks in advance.
推荐答案
希望以下链接帮助:
1. 设置输入类型=文件"的样式 [使用CSS和DOM设置文件输入样式 [
Hope the following links help:
1. Styling an input type="file"[^]
2. Styling File Inputs with CSS and the DOM[^]
这篇关于如何通过JavaScript打开FileUpload的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文