JavaScript - child window parent window to refresh the page

Child window parent window to refresh the page


We usually use target a label = "_ blank" on a separate browser window,

子窗口页面

But if another browser window, after editing and saving, need to refresh the page had opened his window it?

In the sub-window, after the completion of certain actions, call the following syntax on it

self.opener.location.reload();

Original: Big Box  JavaScript - child window parent window to refresh the page


Guess you like

Origin www.cnblogs.com/petewell/p/11495925.html