Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ikhsan on May 26, 2009 22:13
open dhtmlx forum
check when tab exist or not

dear all,

how to check tab with specified id is exist or not?
Answer posted by Alex (support) on May 27, 2009 05:30

Hello, 

you can try to use the following internal method:

var tab = tabbar._getTabById(tabId);

if(tab) {

/*some action here*/

}

Answer posted on May 27, 2009 19:04
thx for your support alex, once question again

can i get iframe id associated with specified tab id (HrefMode=iframes)
Answer posted by Alex (support) on May 28, 2009 04:44
You can try to use tabWindow method to get window of tab content for tabbar with iframes:

var win = tabbar.tabWindow(tabId);