JavaScript events bubbling principle for HTML events

An event bubbling is a way of handling events in HTML DOM API. When there is an element inside another element and both have registered for an event, the handler o...

JavaScript events capturing principle for HTML events

An event capturing is an event propagation principle in HTML DOM API. When there is an element inside another element and both have registered for an event, the ha...

Events handlers and listeners in JavaScript

The actions which an user or a browser do, such as loading a web-page, changing a field in a form, a button click, are all called events. In JavaScript these 'events' can b...

Events handlers and listeners in Document Object model (DOM)

The event handlers are standardized in DOM level 2 interface. They are used to allow Ja...

The Event object in JavaScript DOM

The Event object conveys occurring HTML document's events to its handlers

The Event types in JavaScript DOM

In this chapter we will breifly re-introduce the Event types used in Document Obect Model programming. ...

The mouse triggered events in DOM

The mouse events occur when action has been triggered by a mouse device. They can be triggered as any other events from HTML and manipulated by adding functions or registering list...

The mouse events buttons

The mouse buttons properties determine which mouse button was pressed once a mou...

The keyboard triggered events in DOM

Events in JavaScript can also be triggered by a key press. These events are particularly helpful when f...

The keyCode and characterCode properties

The keyCode property The keyboard events have a property called keyCode. This property returns an Unicode key...