How do you increment a class in jquery for sets of divs

前端 未结 0 765
攒了一身酷
攒了一身酷 2020-12-18 09:46

I have several divs, and I want to set a class "page-1" on the first 9 divs and "page-2" on the 2nd 9 divs and so on.

This is what I have so far n

相关标签:
回答
  • 消灭零回复
提交回复
热议问题