在前台用Jquery实现:
$("tr:gt(0)").hover(function(){
current=$(this).css("backgroundColor");
$(this).css({backgroundColor:"aqua"});
},function(){
$(this).css({backgroundColor:current});
});
在前台用Jquery实现:
$("tr:gt(0)").hover(function(){
current=$(this).css("backgroundColor");
$(this).css({backgroundColor:"aqua"});
},function(){
$(this).css({backgroundColor:current});
});