[ad_1]
There is no need to iterate, jQuery will do this for you very conveniently.
It’s not very clear from the question what exactly you want to do, but you can:
Switch
.plusto.minuswith$(".plus").toggleClass("plus minus")Toggle
.plusand.minuson all elements that have either with$(".plus, .minus").toggleClass("plus minus")
1
[ad_2]
solved How to use Element Selector with Class Selector in Jquery [closed]