EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

FileList object

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

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.

 

 

Anzeigen:
© 2014 Microsoft