files Methods HTML5/Flash Uploader JavaScript

The files type exposes the following methods.

Methods

NameDescription
Public method add(Object) Returns the number of files actually contained in the collection.
Public method add(String,String) Adds an item to the upload list with the specified name and content.
Public method count Returns the number of files actually contained in the collection.
Public method get(Number) Returns the file at the specified index.
Public method remove(Number) Removes the file at the specified index from the upload pane.
Public method removeAll Removes all files in the upload list.