Update Browser's Url Without Reloading The Page
Is it possible to change the URL shown in the browser's address bar without having the browser go to that page? Such as, for example, after updating a page's content via an AJAX ca
Solution 1:
This is possible in modern browsers by using the HTML5 History API:
history.pushState(null, null, '/some-path')
This works in Firefox, Chrome, Opera, Safari (not IE).
Solution 2:
also you can use Jquery history plugin. This will give support to html4 browsers as well.
Here is an article talking about it: http://veerasundaravel.wordpress.com/2011/12/02/change-browser-url-with-reloading-the-page-jquery-html5/
here is another question that gives more options: jQuery History Plugin
Post a Comment for "Update Browser's Url Without Reloading The Page"