FileUpload value property
Fileupload object
Definition and Usage
The value property returns the file path and name selected by the element.
In IE, Google Chrome, Opera, Firefox, and Safari browsers, the value property returns a fake path name of the selected file.
Note: For security reasons, this property is read-only.
Syntax
fileuploadObject.value
Browser support





All major browsers support the value property.
Example
Example
Display the name of the selected file:
Try it »
Fileupload object