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

file.selected Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a value indicating whether the user-selected file is highlighted.

Syntax

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

Property Value

Type: Boolean

true if this file is selected (highlighted); otherwise, false.