webkitRelativePath property
The relative path of the file that is being handled when selecting a folder using input. The webkitRelativePath property is populated when using the webkitdirectory attribute on the file input. An empty string is populated if webkitdirectory is not use on the file input.
Syntax
| JavaScript |
|---|
p = object.webkitRelativePath |
Property values
Type: DOMString
See also
Show: