这是一个创建于 4181 天前的主题,其中的信息可能已经有所发展或是发生改变。
2 条回复 • 1970-01-01 08:00:00 +08:00
![ijse](https://cdn.v2ex.com/avatar/5133/9b6c/34792_normal.png?m=1730952162) |
|
1
ijse 2013-09-06 17:13:52 +08:00
`top.location.href='http://xxx.ooo'`
或者,登陆按钮如果是链接,那么添加 `target="_top"`
或者,表单提交方式登陆,那么`<form target="_top" ... >`
|
![lichao](https://cdn.v2ex.com/avatar/5735/438d/23575_normal.png?m=1737077902) |
|
2
lichao 2013-09-06 17:14:01 +08:00
Ajax 验证登陆成功后,用 js 跳转 window.top.location.href = ......
|