---
title: "events.selectionChange Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_events_selectionChange.htm
product: "Upload Suite 8"
---

# events.selectionChange Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Gets or sets an array of [SelectionChange](https://www.aurigma.com/docs/us8/FH_E_ImageUploaderFlash_SelectionChange.htm.md) event handlers.

## Syntax
 
```
$au.imageUploaderFlash({
    events: {
        //...other params...
        selectionChange: [],
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').events().selectionChange(value);
value = $au.imageUploaderFlash('uploaderID').events().selectionChange();
```
 
### Property Value
 
Type: [$au.event](https://www.aurigma.com/docs/us8/FH_T_J_$au_event.htm.md)
 
The string containing the name of **SelectionChange** event handler or an array of handler names.

## Remarks
 
This event fires when a user changes a selection in the upload pane. To receive a list of all files which are currently selected, iterate through the [files](https://www.aurigma.com/docs/us8/FH_T_J_$au_files.htm.md) and check the [selected](https://www.aurigma.com/docs/us8/FH_P_J_$au_file_selected.htm.md) property (boolean).

## See Also
 
### Reference
 
- [SelectionChange Client-Side Event](https://www.aurigma.com/docs/us8/FH_E_ImageUploaderFlash_SelectionChange.htm.md)
- [ClientEvents.SelectionChange PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_ClientEvents_SelectionChange.htm.md)
