jQuery select visual column in table with rowspan

前端 未结 5 1144
迷失自我
迷失自我 2021-01-02 11:58

I have seen a few similar questions but nothing that answers this specific problem. Consider the following table:

5条回答
  •  心在旅途
    2021-01-02 12:17

    I am not sure how you want to select them, but something like this?

    $(function() {
        $("#foo").find("td:contains('three')").css("background-color","#eee");
    });
    

    What do you want to do with the TDs after you select them?

提交回复
热议问题