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
Post a Comment