jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript closing windows" Watch "javascript closing windows" New topic

javascript closing windows

Steve Mutonshi

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

Joined: Jan 10, 2002
Posts: 63350

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
jQuery in Action, 3rd edition