0

I have code like

<table>
</table>
<table>
</table>
<table>
</table>

i want to traverse to the second table using jquery. How do i do it.

4

1 回答 1

1

您可以通过此表达式获取第二个table元素:

var secondTable = $('table').eq(1); // index is zero-based
于 2012-04-16T10:43:29.540 回答