Home › Forums › JavaScript › jQuery “this” Help › Re: jQuery “this” Help
July 3, 2012 at 3:57 pm
#105331
TheDoc
Member
No, your second solution won’t work. In that case $(this) doesn’t refer to anything.
You’ll need to use some sort of .each() loop or even better create your own function that fires each time you click add to cart.