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

Using Events

Okay, so you know about four events, but how do you use them? Well, let's start with the onLoad event.

Using the onLoad Event

To use the onLoad event to trigger a JavaScript function, you must place the following event handler in the <body> tag of the Web page:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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