spacer

home / experts / dhtml / diner / beforeunload
DHTML Diner Logo

This is an Internet Explorer 4+ for Windows technique.
The in-page examples will only work in Explorer 4+ Windows.

This diner entreé is part of the DHTML Lab thread:

Creating a Web Application

Developer News
ActiveState Debuts Open Source Business Suite
Salesforce Offers Visual App Builder
Codesion Steps Out From CVS's Shadow

The IE onBeforeUnload Event Handler

If you are using Internet Explorer 4+ for Windows, leave this page now!

Really. Either:

  • Click the top-right Close button:

  • Click the top-left Explorer icon:

  • Click the top-right Explorer icon:

  • Enter a new URL in the Address: field:

  • Click the Back button:

  • Click Refresh: , or

  • Just click on any link in your Favorites menu or on this page...

A dialog requesting confirmation of page exit should have appeared. Click Cancel to remain on this page. This built-in dialog is an example of Explorer's powerful onbeforeunload event handler.

Now navigate to the second page of this article to learn how to use it. Click OK when the dialog appears again.



Produced by Peter Belesis and


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Use Web Caching to Make Your Web Site Faster · Creating an Online Shopping Cart Mechanism in PHP · Log JavaScript Errors Using an AJAX-driven Web Service
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Configuring Granular Settings for a Database Level Audit · The Perils of a Web 2.0 Transition on Your Business Processes · Facebook Redesigns Site —Again — Nears 400M Mark

All Rights Reserved. Legal Notices.
Created: Mar 23, 1999
Revised: Mar 23, 1999

URL: http://www.webreference.com/dhtml/diner/beforeunload/