$('.tableborder tr').removeClass('trcolor1');
$('.tableborder tr').removeClass('trcolor2');
$('.tableborder td').removeAttr('bgcolor');
$('.tableborder tr').removeAttr('bgcolor');
$('.tableborder tr:even').addClass('trcolor1');
$('.tableborder tr:odd').addClass('trcolor2');
$('.tableborder tr').removeAttr('mouseout');
$('.tableborder tr:even').bind('mouseleave',function(){
$(this).css('background-color','#e7ebef');
表格行的css交替
$('.tableborder tr').removeClass('trcolor1');
$('.tableborder tr').removeClass('trcolor2');
$('.tableborder td').removeAttr('bgcolor');
$('.tableborder tr').removeAttr('bgcolor');
$('.tableborder tr:even').addClass('trcolor1');
$('.tableborder tr:odd').addClass('trcolor2');
$('.tableborder tr').removeAttr('mouseout');
$('.tableborder tr:even').bind('mouseleave',function(){
$(this).css('background-color','#e7ebef');
$('#table1 tr:even').addClass('listtab1');
$('#table1 tr:odd').addClass('listtab2');