Categories | Question details Back To List | ||
dhtmlxLayout -> dhtmlxTabbar -> load content by axaj-html Hi In dhtmlxLayout I attached dhtmlxTabbar with axaj-html href mode, one of loading content contain js – included js should work. running that included js works as well in dhtmlxSuite 2009 Rel.1 (DHTMLX 2.1) Professional edition build 90226/90316 but in dhtmlxSuite 2009 Rel.2 (DHTMLX 2.5) Professional edition build 090904 - I get error “object required” code for main page: <script> var dhxLayout = new dhtmlXLayoutObject("parentId", "2E"); var dhxTabbar = dhxLayout.cells("a").attachTabbar(); dhxTabbar.setImagePath("../../../dhtmlxTabbar/codebase/imgs/"); dhxTabbar.addTab("a1","Tab 1-1","100px"); dhxTabbar.setHrefMode("ajax-html"); dhxTabbar.setContentHref("a1","test_page_1.html"); dhxTabbar.setTabActive("a1"); </script> code for test_page_1.html: <script type="text/javascript" language="JavaScript"> function inc_by_ajax(){ alert("inc_by_ajax"); } </script> <a href="javascript:void(0);" onclick="javascript:inc_by_ajax();">run inc js by ajax-html</a><br /> Answer posted by Alex (support) on Sep 08, 2009 03:37 Hello, please check the sample with tabbar attached layout dhtmlxLayout/samples/04_components/04_tabbar.html If the issue still occurs, please provide the complete demo to recreate the issue. |