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

how to select specific tab (tab2) in this example:
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

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’);