Check documentation for the latest version of dhtmlxSuite onSelect DHTMLX Docs


fires after the user has selected a color and pressed the "Select" button

void onSelect(string color,HTMLElement node);
colorstringthe selected color in hex color format (e.g. "#aabbcc")
nodeHTMLElementDOM object of the active input, in case of the input-based initialization, otherwise null


myColorPicker.attachEvent("onSelect", function(color,node){});

Back to top