I have the following code snippet…
tabAgent = new dhtmlXTabBar("divtabAgent","top","20px");
tabAgent.setImagePath=("/javascripts/dhtmlx/dhtmlxTabbar/codebase/imgs/");
tabAgent.setSkin("dhx_skyblue")
tabAgent.setHrefMode("agax-html");
tabAgent.addTab("coinfo","Company Info","100px");
tabAgent.addTab("currinfo","Currency Info","100px")
tabAgent.setContentHref("coinfo","/gtttest/grdagentaddedit.xml")
tabAgent.setTabActive("coinfo");
// tabAgent.attachEvent(“onTabContentLoaded”,tabAgentInfoLoaded)
setupCoInfo();
I can see the tabbar being initialised but the content never loads.
The ‘setupCoInfo()’ is a function inside the content which I have now trimmed down to say
alert(“Hello I got here”);
BUT… it never gets that far.
Please can you tell me what I am doing wrong. Thanks