---
title: "events.beforeUpload Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_events_beforeUpload.htm
product: "Upload Suite 8"
---

# events.beforeUpload Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets an array of [BeforeUpload](https://www.aurigma.com/docs/us8/JA_E_Uploader_BeforeUpload.htm.md) event handlers.

## Syntax
 
```
$au.uploader({
    events: {
        //...other params...
        beforeUpload: [],
        //...other params...
    }
})
```

```
$au.uploader('uploaderID').events().beforeUpload(value);
value = $au.uploader('uploaderID').events().beforeUpload();
```
 
### Property Value
 
Type: [$au.event](https://www.aurigma.com/docs/us8/JA_T_J_$au_event.htm.md)
 
The string containing the name of **BeforeUpload** event handler or an array of handler names.

## Remarks
 
This event fires when the upload is about to be started.

## See Also
 
### Reference
 
- [BeforeUpload Client-Side Event](https://www.aurigma.com/docs/us8/JA_E_Uploader_BeforeUpload.htm.md)
- [ClientEvents.BeforeUpload PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_ClientEvents_BeforeUpload.htm.md)
