想,我我當前網址:重定向到一些另外在網址URL中
http://localhost:3000/contests
在按下按鈕後,我要重定向到以下網址:
http://localhost:3000/contests?keywords=algo
我的問題是,我想重定向到的路徑與像其他附加信息:
http://localhost:3000/contests?keywords=algo&show=present
這裏,& show = present被添加到重定向的url。我怎麼能使用JavaScript?
我怎樣才能得到使用javascript的重定向url?
顯示一些代碼,使人們可以瞭解你所要完成 – Daniel