Learn HTML Code Tutorial Reference Guide

Attribute for <BODY ...>
onUnload = "script command(s)"

onUnload runs a script when the reader leaves the page. For example, this code brings up an alert box when the user leaves the page:

this code produces this
<BODY onUnload="alert('bye now!')">
this page

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial