This documentation is for the old version. Go to the latest Upload Suite docs

events.beforeUpload Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets an array of BeforeUpload event handlers.

Syntax

JavaScript Initialize
$au.uploader({
    events: {
        //...other params...
        beforeUpload: [],
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').events().beforeUpload(value);
value = $au.uploader('uploaderID').events().beforeUpload();

Property Value

Type: $au.event

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