files.remove(Number) Method ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Removes the file at the specified index from the upload pane.

Syntax

JavaScript
$au.uploader('uploaderID').files().remove(index);

Parameters

index

Type: Number

The zero-based index of the file to remove.

Remarks

If you want to remove all files or all selected files from the upload pane use the uploadPane.removeAllFiles() or uploadPane.removeSelectedFiles() method respectively.