当前位置: 代码迷 >> Web前端 >> jquery-动态样式报表
  详细解决方案

jquery-动态样式报表

热度:15   发布时间:2012-11-23 00:03:43.0
jquery-动态样式表格
	$(document).ready(function() {
		$("#dataTable tr:odd").addClass("bgred");
		$("#dataTable tr:even").addClass("bggreen");

		$("#dataTable tr").mouseover(function() {
			$(this).addClass("bgwhite");
		});
		$("#dataTable tr").mouseout(function() {
			$(this).removeClass("bgwhite");
		});
	});

?

  相关解决方案