Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FileList

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