jQuery delete table column

前端 未结 6 607
北荒
北荒 2020-12-17 00:40

I have a table and cannot change markup:

6条回答
  •  半阙折子戏
    2020-12-17 01:29

    This works fine for me:

    $(".tableClassName tbody tr").each(function() {
        $(this).find("td:eq(3)").remove();
    });
    

提交回复
热议问题