[SOLVED] How to select specific tab (on pageInit)

Hello
how to select specific tab (tab2) in this example:
https://jsfiddle.net/v8z6sj2b/
I can not find any example on help or forum.
Thank you for your help.

Can you tell us what you are trying to do by “select specific tab?”

Not sure if this is what you are looking for: https://framework7.io/docs/tabs.html#switch-multiple-tabs

Hello
thank you for your idea but I just need that other tab is initially selected (tab2) and not tab1.
Please check JSFiddle https://jsfiddle.net/v8z6sj2b/ and you will see what I mean.
When you clicked on link “Tabs here”, it need to be selected and opened Tab2 and not Tab1 (as it is now).
Thank you.

https://framework7.io/docs/tabs.html#tabs-app-methods это?

1 Like

OK thank you, this worked: app.tab.show(’#tab-2’);