/ 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

Archive DIR

    Facebook Page

    QR-Code and APP Launcher

    User Guide
    This Webpage

    In those service tabs, "Scan QRCode, in mobile device" or "Click the button, in this device" to open webpage or APP-related operations.
    QRCode
    • 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.207
      06 Jan 2025 (GMT+8)