jQuery.noConflict();
jQuery(document).ready( function() {jQuery("#userTable tr:odd").css("background-color", "#cccccc");
jQuery("#userTable tr").hover( function() {
jQuery(this).addClass("hover");
}, function() {
jQuery(this).removeClass("hover");
});
});
加上jQuery("#userTable tr:odd").css("background-color", "#cccccc");
问题补充:奇数行在鼠标经过没有颜色了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
jQuery(document).ready( function() {jQuery("#userTable tr:odd").css("background-color", "#cccccc");
jQuery("#userTable tr").hover( function() {
jQuery(this).addClass("hover");
}, function() {
jQuery(this).removeClass("hover");
});
});
加上jQuery("#userTable tr:odd").css("background-color", "#cccccc");
问题补充:奇数行在鼠标经过没有颜色了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货