Custom code/jQuery error while having no custom code on site :/

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:

Uncaught TypeError: Cannot read property ‘id’ of undefined
jQuery.Deferred exception: Cannot read property

Currently, I don’t have any custom code running but still have an error.

Here’s the screenshot:

Any help is appreciated!
Thanks :slight_smile:


Here is my site Read-Only: LINK

Please share your read-only link.

Thanks!

https://preview.webflow.com/preview/pgmr-bd33e4?utm_medium=preview_link&utm_source=designer&utm_content=pgmr-bd33e4&preview=2e6ccc8bbfab2a35c76297a29c32dd19&pageId=60d0b546ea30406ba95e9c73&workflow=preview


Can you try remove this tab component.

Removed it, you think it’s part of the issue?

Thanks!

Yes.
Webflow has to store the corresponding pane for reference.
Which mean it has to loop all the tab link to match all the panel.

The Tab link amount must equal the tab panel amount.

Because you create 2 tab menu. result in having 2 tab links greater than the panel amount.

Tl ; dr
image
image

Hope it’s help

@Smith.S Thanks! looks like the jQuery is running now :slight_smile:

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 :pray:

Your code is working for me.
If it not working for you, try to console.log everything.

It quite hard for me to debug since I only have an view-only link