$("#tableId tr td:nth-child("+numCol+")").each ( function() { alert($(this).text()); } } 遍历table的ID为tableId的第numCol列的值