uploader.type Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets type of currently using ActiveX/Java Uploader control, Java applet or ActiveX control.

Syntax

JavaScript Initialize
$au.uploader({
    //...other params...
    type: "activex|java",
    //...other params...
})
Get/Set Value at Runtime
$au.uploader('uploaderID').type(value);
value = $au.uploader('uploaderID').type();

Property Value

Type: String

Type of currently using ActiveX/Java Uploader control.

Possible values are:

  • java for Java applet
  • activex for ActiveX control

You can use this property to utilize Java applet only in all browsers including Internet Explorer, although it is not recommended.

Default value is "activex|java".

Example

JavaScript
var uploader = $au.uploader({
  id: 'Uploader1',
  type: 'java',
  //other parameters...
});

See Also

Reference