JavaScript Lesson 6: Events



JavaScript has predefined names that cover numerous events that can occur. To make something happen interactively on your web page, you must specify an event, the HTML element that will be waiting for the event, and the function(s) that will run when the event occurs.

List of possible JavaScript Events

  • A mouse click
  • The web page loading
  • Mousing over a hot spot on the web page, also known as hovering
  • Selecting an input box in an HTML form
  • A keystroke

Leave a Reply