Check documentation for the latest version 6.0 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){ ... };

Parameters

itemIdstring|numberthe id of a button or a select button

Example

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

Back to top