Javascript refresh page

前端 未结 3 1556
误落风尘
误落风尘 2021-01-18 19:53

I have a html page with a button pop-up. If I click on this button a new window Pops-up, I do all of my changes in this window and then click the close button. The html page

相关标签:
3条回答
  • 2021-01-18 20:12

    yes.

    //reload opener...
    window.opener.location.reload();
    //close self...
    window.close();
    
    0 讨论(0)
  • 2021-01-18 20:13
    <script>function reload(){document.location = document.location}</script>
    
    0 讨论(0)
  • 2021-01-18 20:20
    <body onunload="opener.location.reload(true);">
    
    0 讨论(0)
提交回复
热议问题