比如点击id为tbl某一行获得标签下tr的下标
$("#tbl tr").click(
function(){
$("#tbl tr").index($(this));
}
)
就可以了
jquery获得数组元素的下标
猜你喜欢
转载自liuchang615270.iteye.com/blog/2286020
今日推荐
周排行