What JavaScript Events are there and What do They do?

The following are some of the events that are available in JavaScript. They can be attached as event handlers by adding 'on' to the front of the event name. A better alternative is to attach them using event listeners so that they can be attached and detached as required and do not interfere with any other listeners attached to the same event. Note that when attached as listeners the event can bubble out from the element that triggered the event to trigger event listeners on elements that contain that one (except for those events that specify that they don't bubble and those events that do not attach to the web page.

 

This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow
Donate