遍历表格的某一列

$('#sample_1 tr').find('td').each(function(){
    
    if ($(this).index() == "3") { // 要获取第4列的值
        alert($(this).text());
    }
 });

  

posted @ 2017-01-12 16:44  五环  阅读(199)  评论(0编辑  收藏  举报