![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ![]()
Webteacher Software now offers
onUnload EventsAs you may have guessed, the onUnload() event handler will trigger an event when the user exits the current page. I had this page open into a new window so that you can experiment with the onUnload event handler without losing your place in the tutorial. Here is the <BODY> tag at the top of this document.
Use any method you like to leave this page. Click the back button, type a URL into the location box, reload, close the window, or follow a link like this one. No matter how you leave the page the onUnload() event will trigger. Yes you can use onUnload to make a page difficult to leave, but this would quickly result in a very lonely web site.
| |||
![]() Home | WebData - Web Database Software | Javascript | CGI | Consulting | Map Builder | Contact Us | The Press Room ![]() |