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
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji

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

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