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

file.name Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a name of the user-selected file.

Syntax

JavaScript Get/Set Value at Runtime
value = $au.uploader('uploaderID').files().get(index).name();

Property Value

Type: String

The name of this file.