获取当前tr下标

使用this获取当前tr的行下标:
var rowIndex = $(this).closest(“tr”).index();
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/W180830/article/details/87912900
tr