Internet Explorer 4.0x doesn't provide an explicit function for capturing events at the
document level. An event is captured by an object when the event reaches it, provided that the object has an event handler that processes the event. If the object doesn't have such an event handler, the event is released.
You may recall from Column 9 that Navigator 4.0x features two methods that capture and release events:
In Internet Explorer 4.0x you simply need to specify an event processing function to capture an event. The following script segment captures all
click events that occur on the document:
For example, if you put the following script in your HTML document, an alert dialog box pops up when you click anywhere on the document:
Created: December 30, 1997
Revised: December 30, 1997