Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
pathname
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Collapse the table of content
Expand the table of content

pathname property

Sets or retrieves the file name or path specified by the object.

Syntax

JavaScript

p = object.pathname

 

Property values

Type: String

the file name or path.

See also

a
area
location

 

 

Show:
© 2015 Microsoft