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.


JavaScript Get/Set Value at Runtime
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.



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

See Also