I have a tabbar within a layout, the tabbar loads its tabs from an xml file which has href references for filling in the individual tabs. This works fine, however when I try to add a toolbar to a div within a tab’s html things get strange. If the div is at the bottom of the html for the tab, things are fine, but if I move the div to the top of the html then the rest of the html disappears completely, even from the dom. The html being loaded for the tab looks something like this:
and the code looks something like this:
var tabbar = layout.cells(‘a’).attachTabbar();
var div = document.getElementById(‘sm-config-forms-submit-toolbar’);
var submit = new dhtmlXToolbarObject(div);
submit.addText(“submit”, 10, “”);
Any help would be greatly appreciated.