O'Reilly logo

Dojo: Using the Dojo JavaScript Library to Build Ajax Applications by James E. Harmon

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 14. Events and Event Handling

 

Stuff Happens...Just Handle It

 
 --Unknown

Yes, stuff happens, both in life and in web applications. Users click page elements, enter data, move the mouse around, and perform myriad other activities. In a more formal way, we refer to the stuff that happens as “events.” And our response to events can’t be passive. Our pages must do things to handle the events. Events and event handling and how Dojo can help are the topics of this chapter.

Description of the Event Model

In this chapter we examine events and event handling in Dojo. But as we delve into the Dojo specifics, it is also important to review the techniques for identifying and responding to events in the standard browser programming model and JavaScript. ...

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