一例table鼠标经过变色的效果,本例由jquery来实现,有兴趣的朋友,研究下吧。
代码:
 
复制代码 代码示例:
$('#<%=AllEvent.ClientID%> tr:not(:has("th"))').hover(function () { 
$bg = $(this).css('background-color'); 
$(this).css('background-color', '#ffc4c6'); 
}, 
function () { 
$(this).css('background-color', $bg); 
});