js關閉子窗體刷新父窗體實現方法
更新時間:2012年12月04日 09:01:46 作者:
本文將詳細介紹js關閉子窗體刷新父窗體實現方法,需要了解的朋友可以參考下
復制代碼 代碼如下:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->使用open方式打開的窗體
//使用地址方式
window.opener.location.href='m_Shedule_Main.aspx';
//使用瀏覽器刷新功能
window.opener.location.reload();
使用showModalDialog方法
window.returnValue = 'refresh';
相關文章
JavaScript中關于indexOf的使用方法與問題小結
indexOf方法的作用是:根據給定參數x返回目標字符串(可以看成字符的數組)或數組中與x相等的項的索引。2010-08-08

