Selecting an arbitrary cell in a table by row and column number

后端 未结 4 1276
臣服心动
臣服心动 2020-12-31 07:26

I have a large table, and I need to be able to select a specific cell using it\'s cell/row coordinates.

What\'s the most elegant way of doing this using jQuery?

4条回答
  •  滥情空心
    2020-12-31 07:48

    I'm pretty sure this selects the cell at coordinate (9, 9). Let me test:

    $('table tr:eq(10) > td:eq(10)')
    

提交回复
热议问题