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 myRibbon = new dhtmlXRibbon("parentId");
myRibbon.attachEvent("onTabClick", function(id, lastId){
// your code here
});
Fires both for enabled and disabled tabs, not cancelable.
Back to top