This event fires after successful upload.
<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>
<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(); ?>
function Uploader1_AfterUpload(response){ //...your code... }
$au.uploader({ events: { //...other params... afterUpload: [Uploader1_AfterUpload], //...other params... } })
Type: String
The HTML code of the page returned from the server-side upload script.