jQuery :nth-child() selector

后端 未结 4 993
春和景丽
春和景丽 2020-12-16 05:18

Hi please look at the HTML below. I am trying to use jQuery to get every 3rd instance on the DIVs with class=\"box\" contained within the DIV with class=\

4条回答
  •  悲&欢浪女
    2020-12-16 05:45

    nth-child also seems to be non-0 indexed. Keep that in mind if you're used to indexing at 0.

提交回复
热议问题