I work for a ecommerce site where there are products, with individual quantity and cart button on the same page.
All the quantity dropdowns are default loaded with 1. So when I click the "add to cart" button of item 1 I want the quantity dropdown of Items 2,3,4 to become blank at the button click event. How can I do this with javascript?
I don't have a clear code sample with me. Would appreciate any help :)