Location
Properties
- hash
- Sets or retrieves the subsection of the href property that follows the number sign (#).
- host
- Sets or retrieves the hostname and port number of the location or URL.
- hostname
- Sets or retrieves the host name part of the location or URL.
- href
- Sets or retrieves the entire URL as a string.
- pathname
- Sets or retrieves the file name or path specified by the object.
- port
- Sets or retrieves the port number associated with a URL.
- search
- Sets or retrieves the substring of the href property that follows the question mark.
Methods
- assign
- Loads a new document from a given URL.
- reload
- Reloads the current document.
- replace
- Replaces the current document by loading another document at the specified URL.
Events
No events.