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

Uploader.InitComplete Event

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

This event fires when Image Uploader is completely created and initialized.

Syntax

ASP.NET
<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>
PHP
<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();
?>
JavaScript
function Uploader1_InitComplete(){
    //...your code...
}
$au.uploader({
    events: {
        //...other params...
        initComplete: [Uploader1_InitComplete],
        //...other params...
    }
})

See Also

Reference

Manual