Dec 9, 2009 #1 lwfg Programmer Joined Feb 9, 2009 Messages 52 Location 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 Joined Aug 5, 2002 Messages 9,541 Location 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/