Event handler

Search for glossary terms (regular expression allowed)

Glossaries

Term Main definition
Event handler

User interface events, changes to content, loading of content, and requests from the operating environment.

Some markup languages allow authors to specify that a script, called an event handler, be executed when an event of a given type occurs. An event handler is explicitly associated with an element when the event handler is associated with that element through markup or the DOM. The term "event bubbling" describes a programming style where a single event handler dispatches events to more than one element. In this case, the event handlers are not explicitly associated with the elements receiving the events (except for the single element that dispatches the events).

Note: The combination of HTML, style sheets, the Document Object Model (DOM), and scripting is commonly referred to as "Dynamic HTML" or DHTML. However, as there is no W3C specification that formally defines DHTML, this document only refers to event handlers and scripts.

Synonyms: event type
© 2018 Digital Accessibility Implementations Resources. All rights reserved.

Please publish modules in offcanvas position.