Check documentation for the latest version of dhtmlxSuite setURL DHTMLX Docs

setURL

sets the path to the server-side script

void setURL(string url);
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