This event fires when a user changes a selection in the upload pane.
<script type="text/javascript"> function Uploader1_SelectionChange(){ //...your code... } </script>
<aur:Uploader ID="Uploader1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="SelectionChange" HandlerName="Uploader1_SelectionChange" /> </ClientEvents> </aur:Uploader>
<script type="text/javascript"> function Uploader1_SelectionChange(){ //...your code... } </script>
<?php $Uploader = new Uploader("Uploader1"); //...other params... $Uploader->getClientEvents()->setSelectionChange("Uploader1_SelectionChange"); //...other params... $Uploader->render(); ?>
function Uploader1_SelectionChange(){ //...your code... }
$au.uploader({ events: { //...other params... selectionChange: [Uploader1_SelectionChange], //...other params... } })