I currently have a table with a nested table in it:
4条回答 半阙折子戏 (楼主) 2021-02-07 09:00 You use the > selector to target only the direct descendant of an element. You have to target the implicit tbody element inside the table also: $('#report>tbody>tr.odd') 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You use the > selector to target only the direct descendant of an element. You have to target the implicit tbody element inside the table also:
>
$('#report>tbody>tr.odd')