JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

URL.port Property

Name

URL.port Property---the port portion of a URL

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

URL.port

Description

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

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

See Also

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


Previous Home Next
URL.pathname Book Index URL.protocol

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell