当前位置:网站首页>解决iframe跳转时父页面仍然存在的问题
解决iframe跳转时父页面仍然存在的问题
2022-08-09 08:22:00 【php的绯闻女友】
我的iframe是一个子页面,但是我想从这个子页面跳转到登录页面,但是如果直接写window.location.href的话,登录页面会直接存在于父页面下,所以我们需要父页面直接跳转到登录页面,解决的办法很简单。
parent.location.href="{:url('index/login/index')}";边栏推荐
猜你喜欢
随机推荐
Collection 接口 & List 接口
web基本概念
Shell编程之循环语句与函数
uva11624 Fire! (双bfs)
IO字节流读取文本中文乱码
【MySQL】mysql:解决[Err] 1093 - You can‘t specify target table ‘表名‘ for update in FROM clause问题
数制之间的转换
网络层协议介绍
基于appinventor与EasyDL物体检测API的物体检测app
Talking about Flask_script
ASEMI整流桥GBJ810参数,GBJ810封装,GBJ810重量
黑马2022最新redis课程笔记知识点(面试用)
数制转换及子网划分
Buns make up the number----Euclide+dp
Xpath之爬取全国城市名称学习
Programming a washing machine: garbled characters after string output
Shell之函数与数组
pip3 source change to improve speed
requests之防盗链学习
IO byte stream reads text Chinese garbled









