Append parameter in url without reloading page

后端 未结 2 590
故里飘歌
故里飘歌 2021-01-25 16:06

I am using following code to append param to url. This is working fine but when parameter is appended in url, page is getting reloaded. I want to use this functionality without

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-25 16:28

    You can only do this using history.pushState(state, title, url) which is an HTML5 feature.

提交回复
热议问题