jquery实现table鼠标经过变色代码_jquery
来源:动视网
责编:小采
时间:2020-11-27 21:14:04
jquery实现table鼠标经过变色代码_jquery
jquery实现table鼠标经过变色代码_jquery: 代码如下: $('# tr:not(:has(th))').hover(function () { $bg = $(this).css('background-color'); $(this).css('background-color', '#ffc4c6'); }, function () { $(this).css('background-c
导读jquery实现table鼠标经过变色代码_jquery: 代码如下: $('# tr:not(:has(th))').hover(function () { $bg = $(this).css('background-color'); $(this).css('background-color', '#ffc4c6'); }, function () { $(this).css('background-c

代码如下:
$('#<%=AllEvent.ClientID%> tr:not(:has("th"))').hover(function () {
$bg = $(this).css('background-color');
$(this).css('background-color', '#ffc4c6');
},
function () {
$(this).css('background-color', $bg);
});
jquery实现table鼠标经过变色代码_jquery
jquery实现table鼠标经过变色代码_jquery: 代码如下: $('# tr:not(:has(th))').hover(function () { $bg = $(this).css('background-color'); $(this).css('background-color', '#ffc4c6'); }, function () { $(this).css('background-c