javascript - How can I close window after refresh page? -


how can close window opened:

var open_win; function open(){     open_win = window.open("myfile.php", "name", "height=500, width=400"); } 

now when use:

function close(){     open_win.close(); } 

a window closed. when refresh page cannot use open_win.close().

how can close window after refresh page?


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -