Events - hashchange


The following events are registered:


The events are registered on the following elements:


Event properties

These properties belong to the last event that fired.

This page tests the change event.

The event should fire when you click the link. It should also fire when you use the Back and Forward buttons to jump between hashes.

Test elements

This paragraph is a test element that contains a link that changes the hash of the page to this paragraph.

This paragraph is also a test element and contains another link that changes the hash of the page. It's the same hash/id as the previous one, but now all lower case.