【发布时间】:2016-07-05 02:05:47
【问题描述】:
是否有一些如何使用代码添加新的 URL 参数,例如:
http://example.com/mypage?par=1&par2=2
我的代码中需要类似:
if (myVar == 'abc') {
// add a par3=3 without navigate/refresh the page - just to
// add a decoration on the URL for bookmarks purposes,
// for example: when user bookmark it and go back,
//I will be displaying the same dialog box
}
【问题讨论】: