HashChangeEvent newURL property
Definition and usage
The newURL property returns the document's URL, after the hash (anchor part) has changed.
This is the URL navigated to. To get the URL leaving the navigation, use oldURL Property.
This property is read-only.
Tip:To set or return the URL hash, use location.hash Property.
Syntax
event.newURL
Technical details
Return value: | String value representing the URL navigated to. |
---|
Obsługa przeglądarek
Liczby w tabeli wskazują na pierwszą wersję przeglądarki, która obsługuje tę właściwość w pełni.
Właściwości | Chrome | IE | Firefox | Safari | Opera |
---|---|---|---|---|---|
newURL | 5.0 | Nieobsługiwane | 6.0 | 5.0 | 10.6 |