window.location document.links[i]
A read/write string that specifies the hash portion of the URL, including the leading hash (#) mark. This portion specifies the name of an anchor within the object referred to by the URL.
A read/write string that specifies the combination of the hostname and port portions of the URL.
A read/write string that specifies the hostname portion of the URL.
A read/write string that specifies the complete URL.
A read/write string that specifies the path portion of the URL.
A read/write string that specifies the port portion of the URL.
A read/write string that specifies the protocol portion of the URL, including the trailing colon.
A read/write string that specifies the search or query portion of the URL, including the leading question mark.
The URL object represents a URL--the location of an object on the Web. The various properties of the URL object are strings that contain various portions of the URL, such as the protocol, the hostname, and the query string.
The Area, Link, and Location objects are kinds of URL objects--they contain all of the properties of the URL object, plus additional properties of their own. URL objects cannot be used on their own, but may be used through the Link and Area objects in the Document.links[] array and the Location object referred to by the Window.location property.
file: /Techref/language/java/script/definitive/refp_418.htm, 6KB, , updated: 2019/10/14 15:00, local time: 2024/11/13 00:50,
18.226.248.77:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/language/java/script/definitive/refp_418.htm"> [Chapter 21] Reference: URL</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.