Navigating to a different tab (that's not next or previous)

I see it’s easy to switch to the next or previous tab via fd.container(“Tab0”).nextTab(); or previousTab();

How can I navigate to a tab that’s NOT immediately ahead or behind (like 2 or 3 tabs away)?

Dear Clint,
You can use the following code in this case:

var tab = fd.container('Tab0').currentTab;
var selectTab = tab + 2;
fd.container('Tab0').setTab(selectTab);

Perfect. Thank you very much. How easy, I'm not sure how I missed setTab...

Dear Clint,
Don’t worry about it! We are glad to help in any case :wink: