Using the jQuery each function to count divs with the same class – Magento
I created a css class for 8 divs, I need to use the each function of jquery to count the divs and show the result in the page's html, example: "8 divs appear". I created a code but it doesn't…