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: