sets the path to the server-side script
url | string | path to the server-side script |
// 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");
read the details on the url param
Back to top