日期:2014-05-17 浏览次数:20459 次
$(document).ready(function () { $("table tr").bind("mouseover", function () { $(this).css("background","#FF0000"); }); $("table tr").bind("mouseout", function () { $(this).css("background", "#FFFFFF"); }); });
------解决方案--------------------
参考:
效果一:
效果二:
http://www.cnblogs.com/insus/archive/2012/10/29/2744769.html