onmouseover按钮我要显​​示 [英] onmouseover button i want to show

查看:55
本文介绍了onmouseover按钮我要显​​示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

鼠标悬停''button91''我想改变颜色并显示标签。下面是我的代码但无法完成它。有人可以指导。





On mouseover ''button91'' I would like change its color and show a label. Hereunder is my code but unable to complete it. Can someone guide.


<asp:Button ID="Button91"  Class="stylebutton" runat="server"  Font-Size="Small" ForeColor="teal"

                                onclick="Button91_Click"

                                style="z-index: 1; left:790px; top: 1px; position: absolute;width:140px;cursor:pointer; font-family:Sans-Serif;   text-align:left; height:17px;  font-weight:400; "

                                Text="Progressive dealers  " />
                            <img  onmouseover="document.getElementByID("Button91").value='Hello'> <img />





谢谢



Thanks

推荐答案

使用jQuery你可以轻松完成这个

using jQuery you can easily done this


document )。ready( function ()
{
(document).ready(function() {


' #Button91')。mouseover( function ()
{
('#Button91').mouseover(function() {


这篇关于onmouseover按钮我要显​​示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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