Chapter 15. Learning About an Event


In Chapter 12, we looked at how to use event handlers to trigger JavaScript functions. An event handler can be applied to various objects on the page to tell the object how to react when a particular action occurs. However, events also include information about how a particular event was generated, such as which event type occurred, what object generated the event, and (for keyboard and mouse events) which button was pressed.

In this chapter, you'll learn how to find the information generated by an event and how to process it.




CSS, DHTML and Ajax. Visual QuickStart Guide
CSS, DHTML, and Ajax, Fourth Edition
ISBN: 032144325X
EAN: 2147483647
Year: 2006
Pages: 230

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net