jQuery之遍历索引相关方法

遍历索引相关方法:

.each(),补充.children()

.index()

1 .each()

2、.children()    

选中p标签下面所有子标签(span  li)

 

.index()

原文地址:https://www.cnblogs.com/tianya-guoke/p/10585891.html