jquery实现table鼠标经过变色代码


  本文标签: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);
});