Check documentation for the latest version of dhtmlxSuite onChange DHTMLX Docs

onChange

fires when the user selects a new color in the palette

void onChange(string color){ ... };

Parameters

colorstringthe selected color in the Hex color format

Example

myColorPicker.attachEvent("onChange",function(color){
    //your code here
});

Back to top