This documentation is for the old version. Go to the latest Upload Suite docs

uploader.type Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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


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

Property Value

Type: String

Type of currently using Image 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.


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

If you use Image Uploader PHP you can set the type property via the PreRender event, like follows:

<script type="text/javascript">
    function Uploader1_PreRender(){
  require_once 'ImageUploaderPHP/Uploader.class.php';
  $uploader = new Uploader('Uploader1');
  //other parameters...