Hello everyone!
So, I'm looking for a more clever way to go about what I need to accomplish.
On this page: HERE
Im trying to show another option when they click a checkbox. You can see it working on the first checkbox you click, it will toggle the next option.
Code im using:
$(document).ready(function(){
$("#1ade14b3abc5004d7c0b7f5b6479638a").click(function(){
$("#27bd46bdc4f44628a02733561d3084ba").toggle('slow');
});
});
Now the problem is that each option has a unique ID and there are 74+ products. Doing it this way would take 4-5 hours.
Id like to find a more clever way to do this that will work across all similar products. Perhaps search for a string of text and tell it to display the the very next div? Ive got no idea!
Any ideas would be greatly appreciated.