Check documentation for the latest version 6.0 of dhtmlxSuite setURL DHTMLX Docs

setURL

sets the path to the server-side script

void setURL(string url);

Parameters

urlstringpath to the server-side script

Example

// on init state
var myForm = new dhtmlXForm("parentId", [
    {
        type:   "upload",
        name:   "my_uploader",
        ...,
        url: "php/dhtmlxform_item_upload.php"
    }
]);
 
// using method
var myUploader = myForm.getUploader("my_uploader");
myUploader.setURL("php/dhtmlxform_item_upload.php");

Details

read the details on the url param

Back to top