Uploader.AfterUpload Event ActiveX/Java Uploader

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

This event fires after successful upload.

Syntax

ASP.NET
<script type="text/javascript">
function Uploader1_AfterUpload(response){
    //...your code...
}
</script>
<aur:Uploader ID="Uploader1" runat="server">
    <ClientEvents>
        <aur:ClientEvent EventName="AfterUpload" HandlerName="Uploader1_AfterUpload" />
    </ClientEvents>
</aur:Uploader>
PHP
<script type="text/javascript">
function Uploader1_AfterUpload(response){
    //...your code...
}
</script>
<?php
    $Uploader = new Uploader("Uploader1");
    //...other params...
    $Uploader->getClientEvents()->setAfterUpload("Uploader1_AfterUpload");
    //...other params...
    $Uploader->render();
?>
JavaScript
function Uploader1_AfterUpload(response){
    //...your code...
}
$au.uploader({
    events: {
        //...other params...
        afterUpload: [Uploader1_AfterUpload],
        //...other params...
    }
})

Parameters

response

Type: String

The HTML code of the page returned from the server-side upload script.

See Also

Reference

Manual