Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by trietz on Mar 10, 2008 03:30
open dhtmlx forum
tabbar

Hallo,

is there a built in function to test if a tabbar is currently
visible (open) in the manner tabbar.isOpenTab('TabID') or
exists any other method to check?

Thanks in advance,
trietz
Answer posted by Support on Mar 10, 2008 06:19
You can get ID of currently opened tab as
    tabbar.getActiveTab();

so you can use
    if (TabID == tabbar.getActiveTab())
    then do_something();