Home > Articles > Open Source > Ajax & JavaScript

  • Print
  • + Share This
This chapter is from the book

Summary

In this hour, you've learned to use events to detect mouse actions, keyboard actions, and other events, such as the loading of the page. You can use event handlers to perform a simple JavaScript statement when an event occurs, or to call a more complicated function.

JavaScript includes a variety of other events. Many of these are related to forms, which you'll learn more about in Hour 12. Another useful event is onError, which you can use to prevent error messages from displaying. This event is described in Hour 17, "Debugging JavaScript Applications."

In the next hour, you'll continue learning about the objects in the DOM. Specifically, Hour 12 looks at the objects associated with Web forms and how they work with JavaScript.

  • + Share This
  • 🔖 Save To Your Account