Hey all,
I seem to have the following error on my site, although I don’t have currently any jquery code running, so i’m not sure where it’s coming from. I do want to add jquery to add some custom code, but this error won’t let me.
Anyone know why I have the following errors:
@Smith.S Thanks! looks like the jQuery is running now
I want to try to retract the tabs to the first tab on the click of the dropdown.
The goal is to get the dropdown and tabs to go back to the first position when the user closes the dropdown.
I’m trying to use this code to effect the active tab -
<script>
$('#show-tab-1').on('click', function (evt) {
$('#first-tab').triggerHandler('click');
evt.preventDefault();
});
</script>
right now it’s not working.
#show-tab-1 is the dropdown, while #first-tab is the tab link.
If you have any idea how to achieve this it would be great! thank you