Tabs: activate a tab with javascript

How can I activate or make a tab the default one using javascript?

I had a html zone

The browser can’t find the tabName element by Id

Thank’s for ideas

You can set a default active tab in the settings area of the component… does that help?

So… I had a play around in Elements and created a custom component that will select a tab when the page loads!

:backhand_index_pointing_right: Open Project in Elements

You can adapt this so it triggers on a button click, or whatever you need,

Hope this helps.

I don’t know what to say.

Thank you. It’s incredible. You have so many users and you reply and write a component.

Awsome

Thank you