WordPress and Jquery
-
Hi,
I’m having trouble with my script, as i search on google, it seems that my code didn’t work due to jquery on wordpress.
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { var href = $(e.target).attr('href'); var $curr = $(".process-model a[href='" + href + "']").parent(); $('.process-model li').removeClass(); $curr.addClass("active"); $curr.prevAll().addClass("visited"); });This is what supposed to looks like:
https://codepen.io/rt99/pen/BaBWwRGis there any solutions?
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘WordPress and Jquery’ is closed to new replies.