当前位置:网站首页>解决iframe跳转时父页面仍然存在的问题
解决iframe跳转时父页面仍然存在的问题
2022-08-09 08:22:00 【php的绯闻女友】
我的iframe是一个子页面,但是我想从这个子页面跳转到登录页面,但是如果直接写window.location.href的话,登录页面会直接存在于父页面下,所以我们需要父页面直接跳转到登录页面,解决的办法很简单。
parent.location.href="{:url('index/login/index')}";
边栏推荐
猜你喜欢
随机推荐
Result consisted of more than one row
scp upload file to remote server
传输层协议介绍
Go语言技巧之正确高效使用slice(听课笔记总结--简单易懂)
[MySQL]mysql: Solve the problem of [Err] 1093 - You can't specify target table 'table name' for update in FROM clause
数据解析之bs4学习
Processes and Scheduled Tasks
Servlet的实现原理解析(serverapplet)(服务端程序)
Collection 接口 & List 接口
黑马2022最新redis课程笔记知识点(面试用)
【MySQL】mysql:解决[Err] 1093 - You can‘t specify target table ‘表名‘ for update in FROM clause问题
火星人 --简单的数学题
System Security and Application
Process synchronization and mutual exclusion problem
test process
深度学习时代的视频理解综述
204. Count Primes
SOLIDWORKS 2022新功能直播揭秘!速来围观!
3D精彩案例,清软英泰建成综合轻量化显示平台!
泛型和lambda表达式