DHTMLX Docs & Samples Explorer

getAllTabs()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtabbar.js

returns an array of the tabbar tabs' ids

tabbar=new dhtmlXTabBar("a_tabbar","top");
tabbar.addTab("a1","Tab 1-1","100px");
tabbar.addTab("a2","Tab 1-2","100px");
...
 
tabbar.getAllTabs();// -> ["a1", "a2"]