$("table tr:even").css("background","#CCC");/*定义奇数行的背景色为灰*/ $("table tr:eq(3)").css("background","#F00");/*定义第4行的背景色为红*/