fires when a tab is selected
id | string|number | clicked tab id |
lastId | string|number | id of the previously active tab, if any |
boolean | true|false to allow/cancel selection |
var myTabbar = new dhtmlXTabBar("parentId");
myTabbar.attachEvent("onSelect", function(id, lastId){
// your code here
return true;
});
Fires only for enabled tabs, return true|false to allow/cancel selecting
Back to top