首页 > 技术文章 > 遍历表格的某一列
zwhbk 2017-01-12 16:44 原文
$('#sample_1 tr').find('td').each(function(){ if ($(this).index() == "3") { // 要获取第4列的值 alert($(this).text()); } });