Gets or sets type of currently using Image Uploader control, Java applet or ActiveX control.
$au.uploader({ //...other params... type: {}, //...other params... })Get/Set Value at Runtime
$au.uploader('uploaderID').type(value); value = $au.uploader('uploaderID').type();
Type: String
Type of currently using Image Uploader control.
Possible values are:
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(){ $au.uploader('Uploader1').type('java'); } </script> <?php require_once 'ImageUploaderPHP/Uploader.class.php'; $uploader = new Uploader('Uploader1'); $uploader->getClientEvents()->setPreRender("Uploader1_PreRender"); //other parameters... $uploader.render(); ?>