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