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, indicating the URL navigated to. |
---|
Suporte do navegador
Os números na tabela indicam a primeira versão do navegador que suporta completamente a propriedade.
Propriedades | Chrome | IE | Firefox | Safari | Opera |
---|---|---|---|---|---|
newURL | 5.0 | Não suportado | 6.0 | 5.0 | 10.6 |