var $tr =$("table:eq(1) tr"); //序列为1的表格
var colr=null;
//隔行颜色变化 奇数行红色//
$("table:eq(1) tr:even").css("background","red");
//鼠标移过时变绿色
$("table:eq(1) tr").mouseover(function(){
colr=$(this).css("background-color");
$(this).css("background","green");
});
//移开还原颜色
$("table:eq(1) tr").mouseout(function(){
$(this).css("background",colr);
});