DHTMLX Docs & Samples Explorer

Options for Select

Source
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxform_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxform.js"></script>
<script>
var myForm,
formData;
function doOnLoad() {
    formData = [{
        type: "settings",
        position: "label-left",
        labelWidth: 100,
        inputWidth: 120
    }, {
        type: "fieldset",
        label: "Welcome",
        inputWidth: "auto",
        list: [{
            type: "select",
            label: "Package",
            connector: "php/options.php",
            value: ""
        }]
        }];
    myForm = new dhtmlXForm("myForm", formData);
}
</script> <div id="myForm" style="height:160px;"></div>