jquery实现table鼠标经过变色代码
网络编程 发布日期:2025/11/20 浏览次数:1
正在浏览: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);
});