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

file.description Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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

Syntax

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

Property Value

Type: String

The description of this file.

The length of this string can be limited by the descriptionEditor.maxTextLength property.

Remarks

Note

Even if descriptions are disabled (enableDescriptionEditor is false), you can change description of the file via this property.

See Also

Reference