Changing the URL without reloading the page

前端 未结 7 2094
轮回少年
轮回少年 2020-11-29 06:41

I would like to know if it\'s possible to change the contents of the URL in the browser without reloading the page?

I use jQuery and Ajax to load new parts of my pag

7条回答
  •  执笔经年
    2020-11-29 07:26

    Yes, it is possible using the HTML5 History API. Check this page and this example

提交回复
热议问题