DHTML JavaScript comboBox samples

# Adding images to dhtmlxCombo

### Image Select

    	<div id="combo_zone2" style="width:200px; height:30px;"></div>
    	<script>
    		var z=new dhtmlXCombo("combo_zone2","alfa2",200, 'image');
    		z.setDefaultImage("img/book.gif");
    		z.loadXML("xml/data.xml");
    	</script>

### Checkbox Select

    	<div id="combo_zone3" style="width:200px; height:30px;"></div>
    	<script>
    		var z=new dhtmlXCombo("combo_zone3","alfa3",200,'checkbox');
    		z.addOption([[1,1111],[2,2222],[3,3333],[4,4444],[5,5555]]);
    	</script>

© Scand LLC | Go to the dhtmlxCombo main page or Close this page