jquery如何获取取元素序号,例如一个有N行的table,点击其中的一行,获取到它的行号。可以用jQ的index()方法,举例:<table id="table1"><tr><td>第1行<td>&am2023-04-21JavaScript220