How to refresh another page using javascript without opening the same page in a new tab

前端 未结 2 565
逝去的感伤
逝去的感伤 2020-12-10 17:08

Is it possible to refresh a page from another page using Javascript or JQuery without opening the same page in a new tab.

JS:

 var newtab = window.o         


        
2条回答
  •  囚心锁ツ
    2020-12-10 17:28

    I got the idea from a previous Question , here they used window Object Reference to reload the popup window, but for me it wont work, because, the parent window and child window runs in 2 different ports. So using the same trick, what i did is :

    HTML:

    app2
    
    Refresh
    

    JS:

    
    

    refreshExistingTab() this instend of refreshExistingTab

提交回复
热议问题