jQuery question #gazillion
jQuery question #gazillion
Out of context: Reply #1
- Started
- Last post
- 7 Responses
- funkage0
What if ...
You assigned those two with the same IDs:
<a href="#prod1" id="foobar">Slide 1</a>
<a href="#prod-2" id="foobar">Go to slide 2</a>Then in the js you could store the id of the clicked button and have:
var storedid = $(this).attr('id');
$('#wslide4-menu a[id='storedid']').addClass('wac...