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? 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
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?