将浏览按钮更改为图像按钮 [英] change the browse button to image button

查看:81
本文介绍了将浏览按钮更改为图像按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过使用

<asp:FileUpload ID="flDoc" runat="server"/>



显示浏览按钮..我想将浏览按钮更改为图像按钮,以便可以从系统中选择图像按钮.

使用jquery或任何其他方式是否有可能.

谢谢
yashoda



Browse Button is displayed.. i want to change the browse button to an image button so that i can select the image button from my system.

can it be possible using jquery or any other way.

thank you,
yashoda

推荐答案

我认为您无法在Fileupload控件中做到这一点. 请检查下面的链接.
您可以通过使用带有type ="file"的输入html标记和一些自定义编码来实现.

http://www.quirksmode.org/dom/inputfile.html [
I think you cannot do it in Fileupload control.
Please check this below link.
You can do it by just using the input html tag with type="file" and some custom coding.

http://www.quirksmode.org/dom/inputfile.html[^]


这篇关于将浏览按钮更改为图像按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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