获取子元素在父元素中的下标

$('#curclose').parent().index();

猜你喜欢

转载自www.cnblogs.com/DoudouZhang/p/10223940.html