Saving history in ajax

I am using ajax on my site. When a user enters a query and selects a category, I refresh the page with the server loaded content using ajax. In addition, I am updating the URL with a hash value that shows the request and the category separated &.

What I want to do is to do this when the browser button is clicked. I want to display the previous result without rebooting.

What I get is a URL that has the previous values, but the result is not updated. How can i change this? Can anyone help me?

+1
source share
1 answer

#hash uri, , , , , , , , IE6 , , IE7. - IE, 1- iframe javascript-? URL-, , IE . IE8

http://codinginparadise.org/weblog/2005/08/ajax-tutorial-tale-of-two-iframes-or.html

+2

Source: https://habr.com/ru/post/1711032/


All Articles