FileUpload type property
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





All major browsers support the type property.
Example
Example
Display the type of the form element of the FileUpload object:
Try it »
Fileupload object