JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

URL.pathname Property

Name

URL.pathname Property---the path portion of a URL

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

URL.pathname

Description

pathname is a read/write string property of the URL object. It specifies the pathname portion of a URL. For example, the pathname of the following (fictitious) location is "/catalog/search.html".

http://www.ora.com:1234/catalog/search.html?JavaScript#result

See Also

"Area", "Document.links[]", "Link", "URL", "Window.location"


Previous Home Next
URL.href Book Index URL.port

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
This HTML Help has been published using the chm2web software.