1. Home
  2. Computing & Technology
  3. JavaScript

Event

By Stephen Chapman, About.com

Definition: An Event is something that happens. Examples of web page events include loading a new page, clicking on a link, or filling out a form field. Javascript uses event handlers to identify when specific events have occurred and to perform the processing that has been defined to handle that event.
Examples:
<body onload="loadFunction();">
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.