-1

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

talles
  • 12,914
  • 8
  • 42
  • 58
Dileep Kheni
  • 862
  • 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,248
  • 8
  • 12