This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript closing windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript closing windows" Watch "javascript closing windows" New topic
Author

javascript closing windows

Steve Mutonshi
Greenhorn

Joined: Jun 13, 2008
Posts: 13
Suppose I have a browser window opened and from there I click to open a new window. How do I implement a close window button so I when I click it, both windows will be closed ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

You don't. You can't close windows you did not open.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript closing windows
 
Similar Threads
Enabling a button
Is session data thread safe?
error in passing values from child window to parent window
Refresh Issue
Close Group function via taskbar right-click menu