Check documentation for the latest version of dhtmlxSuite onContentLoaded DHTMLX Docs

onContentLoaded

fires when content is loaded through URL or URL-Ajax attaching

void onContentLoaded(string|number id);
idstring|numbertab id

Example

var myTabbar = new dhtmlXTabBar("parentId");
myTabbar.addTab("a1", "Some Page A", null, null, true);
myTabbar.addTab("a2", "Some Page B");
 
myTabbar.attachEvent("onContentLoaded", function(id){
    // your code here
});
 
myTabbar.attachURL("http://some.address.com/some.page.a.html");
myTabbar.attachURL("http://some.address.com/some.page.b.html", true);

Back to top