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

python 2.7 - Chat Solution for Mobile App -

jquery - Detect current Section with javascript -