check when tab exist or not

dear all,



how to check tab with specified id is exist or not?


Hello,


you can try to use the following internal method:


var tab = tabbar._getTabById(tabId);


if(tab) {


/some action here/


}

thx for your support alex, once question again

can i get iframe id associated with specified tab id (HrefMode=iframes)

You can try to use tabWindow method to get window of tab content for tabbar with iframes:

var win = tabbar.tabWindow(tabId);

dear DHTMLX team,

i just upgrading the package to ver. 2.6

but an error occured

tabbar._getTabById is not a function, is this function is deprecated?