[英]JS update URL with GET request parameters
I need to submit GET request and add a parameters from this request to the end of the URL. 我需要提交GET请求并将此请求中的参数添加到URL的末尾。 Without page refreshing or HTML5 history API .
没有页面刷新或HTML5历史API 。
Is it possible? 可能吗?
For example: 例如:
Original URL: 原始网址:
http://site.ch/page
After GET request: 在GET请求之后:
http://site.ch/page?param_1=1¶m_2=2
我知道的唯一方法是使用URL的片段部分。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.