Dynamic HTML Events and the event Object

In addition to making HTML documents more responsive by enabling you to attach events and manipulate the properties of virtually any HTML element, Microsoft's Dynamic HTML has increased the number of HTML events that the Web browser can sense and respond to. This section identifies most of these events and shows what triggers them.

Mouse Events

These events are triggered in response to mouse movements or mouse button presses. A few of these are familiar events, having been part of the Document Object Model before; some are new as a result of Dynamic HTML:

  • onclick— This event is normally triggered when the user presses and releases the left mouse button. It can also occur when the user presses certain keys, ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.