Anchors and class
Anchors and class
What am i doing wrong?
I'm trying to toggleclass on a link, with the href of the current anchor
var anchor=window.location.hash;
$('#nav a[href='.anchor.']').toggleClass('active');
Topic Participants
budde377
Dave Methvin