-1

Please let me know how it can be possible to change url without page refreshing and without using hash tag.

talles
  • 11,195
  • 8
  • 39
  • 55
Dileep Kheni
  • 832
  • 1
  • 7
  • 28

1 Answers1

2
history.pushState(null, null, '/goto/new/url');

if you want to go to relative and new URL.

This is HTML5 history api so will work for modern browsers.... other wise you can fall back to hash urls.....

WebServer
  • 1,178
  • 7
  • 11