JavaScript Link Object
The JavaScript Link Object is a property of the document object.
Properties
- hash - The URL anchor part including the leading hash mark if one exists.
- host - The URL hostname and port.
- hostname - The URL hostname section.
- href - The URL.
- pathname - The URL pathname section.
- port - The URL port section.
- protocol - The URL protocol section including the colon after the protocol name.
- search - The URL query string section. This is the section after and including the question mark.
- target - The URL link's target name.
Events
- onClick
- onMouseOut
- onMouseOver
|
|