DHTMLX Docs & Samples Explorer

Basic Init

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 src="../../codebase/ext/dhtmlxform_item_upload.js"></script>
    <script src="../../codebase/ext/swfobject.js"></script>
    <script>
var myForm,
formData;
function doOnLoad() {
    formData = [{
        type: "fieldset",
        label: "Uploader",
        list: [{
            type: "upload",
            name: "myFiles",
            inputWidth: 330,
            url: "php/dhtmlxform_item_upload.php",
            _swfLogs: "enabled",
            swfPath: "../../codebase/ext/uploader.swf",
            swfUrl: "../../samples/07_uploader/php/dhtmlxform_item_upload.php"
        }]
        }];
    myForm = new dhtmlXForm("myForm", formData);
}
</script> <div id="myForm"></div>