setSLURL

sets the path to the server script file for silverlight mode

void setSLURL(string slUrl);

Parameters

slUrlstringfull path to the server script

Example

// on init state
var myForm = new dhtmlXForm("parentId", [
    {
        type:   "upload",
        name:   "my_uploader",
        ...,
        slUrl:  "http://my_web_site/server/handler.php" // full path required
    }
]);
 
// using method
var myUploader = myForm.getUploader("my_uploader");
myUploader.setSLURL("http://my_web_site/server/handler.php");

Details

full path required

Back to top