HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
DOM Events❮ Event Objects : Events that occur when the anchor part of the URL changes, belongs to the HashChangeEvent Object."
Events that occur when the anchor part of the URL changes, belongs to the HashChangeEvent Object.
Property/Method | Description |
---|---|
newURL | Returns the URL of the document, after the hash has been changed |
oldURL | Returns the URL of the document, before the hash was changed |
The HashChangeEvent inherits all the properties and methods from:
These event types belongs to the HashChangeEvent Object:
Event | Description |
---|---|
onhashchange | The event occurs when there has been changes to the anchor part of a URL |