Reviewing Event Types

An event type is a keyword that JavaScript and jQuery use to identify the physical event that took place. These keywords are used to attach handlers to specify types of events. Also, as you will see later on, the keywords are used in the names of methods so that you can attach event handlers or trigger events manually.

JavaScript provides several event types that correspond to the different events that occur during dynamic page interaction. jQuery event handling supports all the JavaScript and adds a few event types of its own. Table 6.1 lists the different event types that JavaScript and jQuery support.

Image

Table 6.1 JavaScript ...

Get jQuery and JavaScript Phrasebook 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.