Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileList object

The list of files that have been selected by the user.

Internet Explorer 10

 

Syntax


<input type="file" multiple="multiple" onchange="for (var i = 0; i < this.files.length; i++) { document.write(this.files[i].name ) };" />

DOM Information

Inheritance Hierarchy

The FileList does not inherit from any class or interface.

Members

The FileList object has these types of members:

Methods

The FileList object has these methods.

MethodDescription
item

Returns a File object from a FileList object.

 

Properties

The FileList object has these properties.

PropertyAccess typeDescription

length

Read-only

Returns the number of files contained in a FileList object.

 

Remarks

Each element in FileList object is a File object.

 

 

Show:
© 2015 Microsoft