Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mongkol on Aug 30, 2008 08:48
open dhtmlx forum
function on cancel on dhtmlx color picker

i want to active some javascript function when have event on click cancel on dhtmlx color picker. what i can do?
Answer posted by Support on Sep 01, 2008 01:30

There is no built in event for such action, you can change logic by overriding clickCancel method

cp = new ...
cp.clickCancel=function(){
        var combo = this.z;
        // any custom code here
         combo.hide();
}