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
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

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

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