ImageUploaderFlash.AfterUpload Event HTML5/Flash Uploader

Supported technologies: Adobe FlashHTML 5

This event fires after a successful upload.

Syntax

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

Parameters

response

Type: String

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

See Also

Reference

Manual