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.