jquery实现table鼠标经过变色代码_jquery
程序员文章站
2022-04-28 18:33:36
...
复制代码 代码如下:
$('# tr:not(:has("th"))').hover(function () {
$bg = $(this).css('background-color');
$(this).css('background-color', '#ffc4c6');
},
function () {
$(this).css('background-color', $bg);
});
上一篇: 一个PHP ajax 多级树形菜单