找到 相同类中 某一个 的索引

在点击li 的时候,找到当前li 在所有li 中的索引 

使用$(this)  作为index() 的参数

猜你喜欢

转载自www.cnblogs.com/yigexiaojiangshi/p/9164889.html