O'Reilly logo

Internet & World Wide Web: How to Program, Fourth Edition by P. J. Deitel - Deitel & Associates, Inc., H. M. Deitel - Deitel & Associates, Inc.

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

Chapter 13. JavaScript: Events

 

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 Apple Computer, Inc., 1985
 

We are responsible for actions performed in response to circumstances for which we are not responsible.

 
 --Allan Massie

OBJECTIVES

In this chapter you will 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 ...

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