There are three major types of events which you can add event handlers
-
Form related events
-
links
-
Loading and Unloading new window
|
These are new attributes inside tags which traditionally respond to Mouse clicks or movement (or possibly text input)
|
onUnLoad event handler is called when you exit a particular page
|
onLoad event handler is called when you load (or reload on returning to page) a new page
-
<body onLoad='alert("You have just seen my first JavaScript Program Loaded!")' .. other body tags ... >
|