'ChooseColorDlg()' Example : Choose Color Dialog « Development « JavaScript DHTML






'ChooseColorDlg()' Example

    
<html>
<body>
<script language="JavaScript">
function function1(){
   var myColor = dlgColor.ChooseColorDlg();
   alert(myColor); 
} 
</script>
<object id="dlgColor" classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b">
</object>
<button onclick="function1();">Choose color</button>
</body>
</html>

    
      
      








Related examples in the same category