![]() |
Sample: dhtmlxColorPicker | Event(s) | dhtmlxColorPicker main page |
<div id="zoneA"> </div> <script></script>var z=new dhtmlXColorPicker(); z.init(); z.setOnSelectHandler(function(color){ //set handler function document.getElementById("zoneA").style.backgroundColor="#"+color[0]; });
© DHTMLX LTD. All rights reserved |