window.open页面关闭后刷新父页面
2016-09-13 17:11
337 查看
如题
function openWin(url,text,winInfo){ var winObj = window.open(url,text,winInfo); var loop = setInterval(function() { if(winObj.closed) { clearInterval(loop); //alert('closed'); parent.location.reload(); //window.location.reload(); 刷新当前页面 } }, 1); }
相关文章推荐
- linux ifcfg-eth0文件配置静态ip(centos-6.5)
- linux培训第四周作业
- wget下载文件命令解析
- Linux Mysql远程访问设置
- centos安装postgres(源码方式)
- linux安装automake
- shell脚本监控系统负载、CPU和内存使用情况
- @property属性详解
- CentOS 6.4下编译安装 gcc-4.8.0(转)
- CentOS6.5 安装pip的方法
- hbase导入导出数据
- SoC设计中为什么需要考虑IR压降(IR-Drop)?
- 【转载】Nginx Location配置总结
- opencv 3.0 图像去畸变 undistortion
- 上线个人网站为什么要选择阿里云
- XML 架构示例(微软文档)
- SpatialHadoop中空间索引系列之(四)空间格网索引实现
- eclipse安装tomcat服务器详解
- 安装kernel debug版本
- Linux中的冷热页机制简述