---
title: "event.add(Function) Method  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_M_J_$au_event_add_1_23cf0bd7.htm
product: "Upload Suite 8"
---

# event.add(Function) Method HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Adds the specified handler to the end of the collection.

## Syntax
 
```
$au.imageUploaderFlash('uploaderID').events().event().add(handler);
```
 
### Parameters
 
 - handler
     - Type: **Function**
 
The function to add.
