O'Reilly logo

jQuery and JavaScript Phrasebook by Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding Events

The browser event concept is pretty simple. An event is anything that alters the state of the browser or web page. These include loading of the page, mouse movements and clicks, keyboard input, as well as form submissions and other things occurring in the page. Each event has an event object that describes the event that took place and what object it took place on.

This section provides a few tables to help you get a quick overview of what event objects look like, what some of the more common events triggered in JavaScript are, and what triggers them.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required