Multiple cart buttons [Resolved]

Posted by Jithuvarma under JavaScript on 5/4/2017 | Points: 10 | Views : 1253 | Status : [Member] | Replies : 0
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 :)


(No response found.)

Login to post response