//设置多顶行的每个td的宽度 $("#Tbl tr:eq(0) td").each(function (i){ $(this).width($("#" + divID + " table tr:eq(0) td:eq(" + i + ")").width()); });