原文:JS实现关闭当前子窗口,刷新父窗口

一 JS实现关闭当前子窗口,刷新父窗口 JS代码如下: lt script gt function refreshParent window.opener.location.href window.opener.location.href window.close lt script gt ...

2016-11-13 09:15 0 7580 推荐指数:

查看详情

js 窗口关闭并且刷新窗口

窗口中加入代码: <body onLoad="refreshParent()"> ...... </body> <script language="javascript"> function refreshParent ...

Sun Jun 10 06:25:00 CST 2012 0 4488
layui 关闭当前窗口 刷新窗口

type - 基本层类型 类型:Number,默认:0 layer提供了5种层类型。可传入的值有:0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层) layer.closeAll(); //关闭所有层 layer.closeAll(‘dialog’); //关闭 ...

Wed Jun 06 00:23:00 CST 2018 0 6636
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM