XML : Add elements when iterating over XML via jquery

I have an XML feed that I am parsing using ajax and jquery. This works fine, but what is a way I can add a div for every 3 nodes found - or any other number?

Want to wrap every 3 items I find in a div.

1 comment:

  1. Wholesale cbd flower .Buy premium CBD flower,
    CBD bud that’s lab tested from the hemp plant available in different flavors strains
    at the best price with free discreet shipping if you are looking for CBD hemp buds for sale

    https://cbdmirahemp.com/

    ReplyDelete