Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 30th, 2005, 06:09 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Modal dialog - Disable Close button

Model Dialog:

In Modal Dialog window, how can I disable the close button [X] which is on right corner of window.

Any help..
Any Idea...

will really be appriciated...

Thank you,
Zeeshan Ahmed

 
Old July 31st, 2005, 01:58 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You can't, otherwise you could lock a user out and prevent them ever closing IE. They could always use ALT+F4 anyway.

If you need this functionality you need to write an HTA and install it as a local application.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to return value from modal dialog ajaypsingh Javascript 2 May 16th, 2006 05:14 AM
Modal dialog - Disable Close button itHighway Classic ASP Basics 1 July 31st, 2005 06:36 PM
disable close button in mdi form nkramanmca VB How-To 4 January 6th, 2005 12:31 AM
how to disable a close button on VB form chanti VB How-To 2 September 30th, 2004 06:21 AM
Disable Close Button Ben Horne Access VBA 1 April 12th, 2004 03:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.