Skip to main content
4 events
when toggle format what by license comment
Apr 3, 2013 at 18:25 vote accept hockey2112
Apr 1, 2013 at 23:51 comment added schnippy sure - we are probably getting a little out of scope for this question / site but in jquery one way you could do this is to modify your list-item class to have a unique id (or use a different class to distinguish) and then add a wildcard (ex. stackoverflow.com/questions/5376431/…) and use the each statement to iterate over these items. There's a couple examples at the link above that will show the basics of this.
Apr 1, 2013 at 20:31 comment added hockey2112 this is fantastic, and it seems to be working great! Thank you! The only issue is that if I have one product that has option X selected in the cart and another product that does not have that option selected, the presence of option X's "someothertext" causes the other product's option's "cart-savings" div to toggle as well. How can I make the toggle only apply to individual products, instead of the entire cart?
Apr 1, 2013 at 20:03 history answered schnippy CC BY-SA 3.0