Forum

Yampiz Forum

Sharing let knowledge Spreaded, Reading let spirits growth, Creative let culture extended, Let us
  • 禁止廣告文
  • 知識傳播
  • 閱讀
  • 心靈成長
  • 創作
  • 文化傳承
Forum Dictionary / Programming / 網頁/網站程式 / JavaScript /

在子視窗中更新母視窗

New Subject
Random
Previous
Next
|
在子視窗中更新母視窗

在子視窗中按下關閉後關閉子視窗,同時也將母視窗重新整理。
我想應該有不少人可能有需要這樣的功能!

在子視窗中新增一個如下的文字連結
<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
0 0
2009-05-14T02:29:27+0000

學生妹瀨043811 :

!!! The contents has been hidden because it violates policy tactic. !!!
0 0
2019-01-29T16:52:46+0000


  • Now, you can post comments by Facebook Account when your Yampiz account was logout or unvariable. whatever, we suggest to post comment by Yampiz Account to get more bounds to join new events of Heyxu
Comment
 
Verify
  • Auto Platform
    For better browsing experience, it will auto detects your device to display webpage.
  • Bug Report
    Tell us about the idea, problem and errors you found.
  • Comodo Secure
    The sensitive data transmission adopts by SSL-2048 authenticated encryption.
  • Copyright
    © 2009 YamPiz Digital Inc. & Jaby Group. All rights reserved.
  • Revised Version
    V2.2.197
    29 Oct 2024 (GMT+8)