Dec 9, 2009 #1 lwfg Programmer Feb 9, 2009 52 US How do you close a window openned in target=_blank when a button outside that window is clicked? Thanks.
How do you close a window openned in target=_blank when a button outside that window is clicked? Thanks.
Dec 9, 2009 #2 feherke Programmer Aug 5, 2002 9,540 RO Hi No way. To close another window with JavaScript, you need a reference to that window. You get such reference only when opening the window with JavaScript. Feherke. http://free.rootshell.be/~feherke/ Upvote 0 Downvote
Hi No way. To close another window with JavaScript, you need a reference to that window. You get such reference only when opening the window with JavaScript. Feherke. http://free.rootshell.be/~feherke/