-1

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

talles
  • 14,356
  • 8
  • 45
  • 58
Dileep Kheni
  • 882
  • 1
  • 7
  • 29

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,316
  • 8
  • 12