This article is In Progress.
Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.
Attaching an event handler to a new onhashchange event enables the page to detect when the hash has changed and an AJAX navigation has occurred. See Introducing AJAX Navigations for a more robust example.
<body onhashchange="HashChangeHandler();"> ... </body>
- Set the
location.hash (bookmark) property.
- Navigate to the same page with a different bookmark.
The pEvtObj parameter is required for the following interfaces:
There are no standards that apply here.
Event handler parameters
- pEvtObj [in]
- Type: IHTMLEventObj
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Feature||Android||BlackBerry||Chrome for mobile||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Opera Mini||Safari Mobile|
Related pages (MSDN)
Introducing AJAX Navigations
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]