定位到table的某一行或者某一列

1、需求

    定位到table中的某一行或者是某一行中的某一列进行样式的修改或者是数据的更改。

2、语法

 $("table的id或者class").find("tr").eq("所要找的tr的index,以0开始数起").find("td").eq("所要找的td的index,以0开始数起").remove();

注意:需要定位到行之后才能定位到列

猜你喜欢

转载自blog.csdn.net/m_S_L/article/details/86573302
今日推荐