jq遍历表格

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

  

原文地址:https://www.cnblogs.com/sntetwt/p/2642143.html