enable back button ajax
The Fine Art of Web Development by Martin Ivanov
Here is a small script that utilizes the JavaScript location.hash property to handle the broken back and forward browser buttons in AJAX websites. For the demo we need is a simple AJAX callback function, the hash handling function and a couple of HTML pages to include in our one-page website via the XmlHttpRequest. 1. getcontent(file) – the argument of the function … Continue reading “Fixing the Browser History (Back and Forward buttons) in AJAX Websites”
Categories and Tags
Links
© 2006 - 2024 Martin Ivanov