uploader.set(Object) Method ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Sets the specified properties.

Syntax

JavaScript
$au.uploader('uploaderID').set(paramsObj);

Parameters

paramsObj

Type: Object

A list of property names and values in JSON format.

Example

JavaScript
var u = $au.uploader({id: 'Uploader1'});
u.set({ width: '660px', 
    height: '480px', 
    licenseKey: 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX;YYYYY-YYYYY-YYYYY-YYYYY-YYYYY-YYYYYY', 
    uploadSettings: {actionUrl: 'upload.aspx', redirectUrl: 'gallery.aspx'}
});