FileUpload value Property
Display the path or the name of the selected file:
Try it yourself »
Definition and Usage
The value property returns the path or the name of the file selected with the <input type="file"> element.
This property returns the name of the selected file with a fake path in IE, Google Chrome, and Opera, and the name of the selected file in Firefox and Safari.
Note: This property is read-only, because of security reasons.
The value property is supported in all major browsers.
|String||The path or the name of the selected file|
Thank You For Helping Us!
Your message has been sent to W3Schools.