This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes disable CLOSE (X) button on a popup window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable CLOSE (X) button on a popup window " Watch "disable CLOSE (X) button on a popup window " New topic
Author

disable CLOSE (X) button on a popup window

Poornima Shankar
Greenhorn

Joined: Jul 21, 2005
Posts: 28
How to disable CLOSE (X) button on a popup window using javascript. I have logout in popup so that automatically closes. but i do not want the user to use CLOSE button on the title bar.


"Advice: wise dont want it, Fools never get it"
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not do it.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

Thank goodness.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: disable CLOSE (X) button on a popup window