11. JavaScript: Events

OBJECTIVES

In this chapter you’ll learn:

• The concepts of events, event handlers and event bubbling.

• To create and register event handlers that respond to mouse and keyboard events.

• To use the event object to get information about an event.

• To recognize and respond to common events, including onload, onmousemove, onmouseover, onmouseout, onfocus, onblur, onsubmit and onreset.

The wisest prophets make sure of the event first.—Horace Walpole

Do you think I can listen all day to such stuff?—Lewis Carroll

The user should feel in control of the computer; not the other way around. This is achieved in applications that embody three qualities: responsiveness, permissiveness, and consistency.Inside Macintosh, Volume 1 ...

Get JavaScript™ for Programmers: Deitel 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.