原文: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