fires when the user clicks on a tab
id | string|number | id of the clicked tab |
lastId | string|number | id of the previously active tab, if any |
var myTabbar = new dhtmlXTabBar("parentId");
myTabbar.attachEvent("onTabClick", function(id, lastId){
// your code here
});
Fires both for enabled and disabled tabs, not cancelable.
Back to top