📜  如何在 js 中获取第 n 个 tr - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:07.045000             🧑  作者: Mango

代码示例1
var value = $('table')
              .find('tr:eq(3)') // get the 4th table row
              .find('td:eq(4)') // get the 5th table cell in that row
              .text();          // get the text inside that cell