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

$('#curclose').index();
原文地址:https://www.cnblogs.com/wangyongx/p/13433674.html