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

Events

The trick to calling functions is to use events to do the work for you. JavaScript is event-driven, which means everything that happens is the result of an event or causes some event to occur. Opening a new page in the browser window is an event. Moving the mouse pointer is an event. Clicking is an event. The four events you will use the most in this book are

  • onLoad

  • onClick

  • onMouseover

  • onMouseout


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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