6

I want to avoid page load but the URL should change and should be same in all browser. I am trying to use Ajax post with URL change. I have searched and found it is possible using # or .pushstates().

Link : Change the URL in the browser without loading the new page using JavaScript

I tried by using .pushstates() but it doesn't work in IE < 10. I don't want to use # in the URL. Is there any way to achieve this in IE?

Community
  • 1
  • 1
user1357737
  • 101
  • 2
  • 7

1 Answers1

1

I'm afraid that the answer is just a plain no, there is no way to achieve this in IE.

You will have to accept using the hash if you want to identify different resources your application with the URL without reloading the page.

Note: the semantic of the hash is precisely to identify different resources within the same page, so if you don't reload the page, using the hash might actually be a good thing.

Samuel Rossille
  • 16,848
  • 18
  • 55
  • 85