$(’#xxx tr’).mouseover(function(){ //鼠标经过显示红色
$(this).css(‘color’,‘red’);
})
$(’#xxx tr’).mouseout(function(){//离开没颜色
$(this).css(‘color’,’’);
})
鼠标经过离开事件
最新推荐文章于 2024-06-22 18:26:54 发布
$(’#xxx tr’).mouseover(function(){ //鼠标经过显示红色
$(this).css(‘color’,‘red’);
})
$(’#xxx tr’).mouseout(function(){//离开没颜色
$(this).css(‘color’,’’);
})