Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM FileUpload type property

FileUpload type property

Fileupload Object Reference Fileupload object


Definition and Usage

The type property returns the form element type of the FileUpload object.

For the FileUpload object, this property returns "file".

Syntax

fileuploadObject.type


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the type property.


Example

Example

Display the type of the form element of the FileUpload object:

Runoob Tutorial(runoob.com)

Select a file to upload:

Try it »


Fileupload Object Reference Fileupload object