sgi*_*sgi 4 javascript jquery ruby-on-rails
我现在正在使用我的Rails应用程序重定向到主页面
redirect_to root_path
我想在jQuery中做同样的事情.
即 window.location.replace("???");
window.location.replace("???");
怎么做?
use*_*390 14
window.location = '/'
使用的缺点window.location.replace('/')是用户将无法按"返回"并返回上一页.
window.location.replace('/')
归档时间:
15 年,8 月 前
查看次数:
7579 次
最近记录:
10 年,9 月 前