This event fires when ActiveX/Java Uploader is completely created and initialized.
<script type="text/javascript"> function Uploader1_InitComplete(){ //...your code... } </script>
<aur:Uploader ID="Uploader1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="InitComplete" HandlerName="Uploader1_InitComplete" /> </ClientEvents> </aur:Uploader>
<script type="text/javascript"> function Uploader1_InitComplete(){ //...your code... } </script>
<?php $Uploader = new Uploader("Uploader1"); //...other params... $Uploader->getClientEvents()->setInitComplete("Uploader1_InitComplete"); //...other params... $Uploader->render(); ?>
function Uploader1_InitComplete(){ //...your code... }
$au.uploader({ events: { //...other params... initComplete: [Uploader1_InitComplete], //...other params... } })