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 from which navigation left, please use oldURL Properties.
This property is read-only.
Tip:To set or return the URL's hash, use location.hash Properties.
Syntax
event.newURL
Technical details
Return value: | String value, representing the URL navigated to. |
---|
Dukungan Browser
Angka di tabel menunjukkan versi browser pertama yang mendukung properti ini sepenuhnya.
Properti | Chrome | IE | Firefox | Safari | Opera |
---|---|---|---|---|---|
newURL | 5.0 | Tidak Dukung | 6.0 | 5.0 | 10.6 |