Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Dominik on Aug 26, 2008 09:34
open dhtmlx forum
dhtmlxTabbar: check whether the tab on the outer right has been selected

We use a dhtmlxTabbar as Wizard (i.e., tabs are clicked in order from left to right, one after another).
Is there some general way to check within the onSelectHandler function whether the last tab (i.e., that on the very right) as been selected?

Thanks in advance for any help.
Answer posted by Support on Aug 26, 2008 09:46
There is no public method to do such task, by using inner vars it can be done as 
   var count = tabbar.rows[0].length;
   if (!tabbar._getTabById(id).nextSibling.idd)  alert("last");