Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by D. Koper on Mar 19, 2008 03:45
open dhtmlx forum
DHTMLX Tabbar

Hi,

I want to rebuild/recreate a tabbar in the same container but when I make this call:

tabbar = null;
tabbar = new ....

It just puts the new tabbar underneath the old one, i.e. the old one doesn't get destroyed at all.

Could you please help me?
Answer posted by Support on Mar 19, 2008 06:32
You can try to use the following approach to recreate tabbar:

if (tabbar)
     tabbar.entBox.innerHTML="";

tabbar = new ....