• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Event Objects > Event History

Event History

In the beginning (before the version 4 browsers), all event handlers lived as attributes inside HTML elements, such as onClick living inside links and buttons, and onmouseover and onmouseout living inside links. Those simple event handlers knew that something happened, but they couldn't tell you anything about where it happened.

Version 4 browsers turned events into full-fledged objects all by themselves. These objects suddenly knew a lot about the events: where on the screen they happened and which key on the keyboard was pressed down. These new event objects were fully exposed to JavaScript, so one could do a lot more with the events in version 4 browsers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint