Opening and controlling a new popup window


we can assign a var to the window.open method and control the popup. but in order for it to work, remember to use to “opener” method or else it will fail in firefox.

for example,

var d = window.open('../popup/'+url,  'popup', 'width=1024, height=1024, scrollbars=1');
d.opener.location.reload(true);

Like it.? Share it:

Comments are closed.