setOnTabContentLoaded

Hi, I’ve working with TabBar (PRO), and I am having a problem with setOnTabContentLoaded



I’ve loading the tabs with



//////////////////////////

var divContent;

divContent = “

”+

“”+







tabbar.setContentHTML(“tab”+type, divContent);

//////////////////////////////////////////////////////////



By other hand, I am attaching an event to the tabbar with



tabbar.setOnTabContentLoaded(doOnTabContentLoaded)



//////////////////////////////////////////////////////////

As you can see , I am loading the tabs using “setContentHTML”, but the event setOnTabContentLoaded never run / doesn’t work



Please tell me if setOnTabContentLoaded event works only work using “setContentHref” and mode ajax-html



Thanks


Hello,


yes, onTabContentLoaded event is fired for ajax-based loading. Ajax loading is asynchronous and event is necessary.


But tabbar doesn’t control its content. So, you should attach onload event handler directly in the localhost/routing/include/Charts … onitor.asp