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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent window from closing via X

Status
Not open for further replies.

jgos

Programmer
Sep 27, 2002
38
0
0
US
Is there a way to exit out of the window.close() event if a variable is null and prevent a window from closing? I have a modal dialog that I want a user to select yes or no. I want to display a custom message that needs to be in HTML format, so I cannot use the confirm function. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top