Check documentation for the latest version of dhtmlxSuite onClick DHTMLX Docs

onClick

fires when the user clicks the left mouse button on a button or a select button items

void onClick(string|number itemId);
itemIdstring|numberthe id of a button or a select button

Example

myToolbar.attachEvent("onClick", function(id){
    //your code here
});

Back to top