???在子視窗中按下關閉後關閉子視窗,同時也將母視窗重新整理。
我想應該有不少人可能有需要這樣的功能!
我想應該有不少人可能有需要這樣的功能!
在子視窗中新增一個如下的文字連結
<a href="#" temp_href="#" onclick="opener.window.location.reload();self.close();return false;">Close</a>
主要的兩個動作:
更新母視窗
opener.window.location.reload();
關閉自己
self.close();
- Keywords : window, reload, opener, location, close, 母視窗重新整理, 子視窗中新增一, 子視窗中按下關閉後關閉子視窗, temp_href, return, onclick, false, Close
00
2009-05-14T02:29:27+0000
