首页 > 编程 > JavaScript > 正文

js动态设置鼠标事件示例代码

2019-11-20 21:48:38
字体:
来源:转载
供稿:网友
复制代码 代码如下:

obj.onmouseover=function (){
$("#vote").html("赞过了");
}
obj.onmouseout=function (){
$("#ssvote").html("赞(" + vote_num+")");
}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表