易网时代-编程资源站
Welcome
微信登录
首页
/
脚本样式
/
JavaScript
/
jquery实现table鼠标经过变色代码
复制代码
代码如下:
$("#<%=AllEvent.ClientID%> tr:not(:has("th"))").hover(function () {
$bg = $(this).css("background-color");
$(this).css("background-color", "#ffc4c6");
},
function () {
$(this).css("background-color", $bg);
});
版权所有©石家庄振强科技有限公司2024
冀ICP备08103738号-5
网站地图