Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling /enabling IE close button through script.

Status
Not open for further replies.

sivajothi

Programmer
Dec 30, 2001
1
US
Hi
I am displaying a web page in which i like to prevent the user clicking close button or selecting ALT+F+X to close the browser when flag =false.ie i want to disable the close action of the browser when flag is false.
When flag is true,i want to enable it.
Is it possible through scripts or any other way of doing this.
I am using JSP's to get the dynamic content from the server.
Thanks in advance
with regards
sivajothi
 
Sounds like those popups we all hate so much.

reghakr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top