0

I want to remove # from browser url without reloading the page. I've tried below one but no use

window.location.hash = ""; ex: localhost:5000/en-us/sample/abc#/zxy

How to remove the hash from window.location with JavaScript without page refresh?

Above answer doesn't work for me.

any help?

Community
  • 1
  • 1
user3194721
  • 765
  • 4
  • 14
  • 47

0 Answers0