Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by James on Nov 16, 2007 03:13
open dhtmlx forum
How to check if a tab is open

Hi Guys,

In tabbar, how can i check to see if a tab is already open?

James
Answer posted on Nov 16, 2007 04:29
You can get ID of currently opened tab as

    tabbar.getActiveTab();


If your are using ajax based mode and need get the moment when content loaded you can set custom event handler by
    tabbar.setOnTabContentLoaded(....