This event fires when a user adds/removes any files to/from the upload list.
<script type="text/javascript">
function Uploader1_UploadFileCountChange(){
//...your code...
}
</script>
<aur:Uploader ID="Uploader1" runat="server">
<ClientEvents>
<aur:ClientEvent EventName="UploadFileCountChange" HandlerName="Uploader1_UploadFileCountChange" />
</ClientEvents>
</aur:Uploader>
<script type="text/javascript">
function Uploader1_UploadFileCountChange(){
//...your code...
}
</script>
<?php
$Uploader = new Uploader("Uploader1");
//...other params...
$Uploader->getClientEvents()->setUploadFileCountChange("Uploader1_UploadFileCountChange");
//...other params...
$Uploader->render();
?>
function Uploader1_UploadFileCountChange(){
//...your code...
}
$au.uploader({
events: {
//...other params...
uploadFileCountChange: [Uploader1_UploadFileCountChange],
//...other params...
}
})