0

给定每个单元格都有 row, col 属性。我试过类似的东西

$(#mytable tr td row=1 col=1)

但它不起作用

4

1 回答 1

1

您可以使用first-childnth-child。例如:

$("#mytable tr:first-child td:first-child")

$("#mytable tr:nth-child(1) td:nth-child(1)")
于 2014-09-20T00:12:24.623 回答