JavaScript Events

Events in JavaScript, refer to actions that are detected by a JavaScript program when you perform a particular task. For example,
onclick event is detected by the program when you click the mouse button. Here, the following code fragment
shows how to create an event handler in JavaScript:

onEvent = "code to handle the event"

You will learn all about events in JavaScript in detail, divided into following tutorials: