Home > Articles > Open Source > Ajax & JavaScript

  • Print
  • + Share This
This chapter is from the book


To gain more experience using event handlers in JavaScript, try the following exercises:

  • Add several additional links to the document in Listing 10.2. Include event handlers that display a unique description for each link.

  • Modify Listing 10.2 to display a default welcome message in the status line whenever a description isn't being displayed. (Hint: You'll need to include a statement to display the welcome message when the page loads. You'll also need to change the clearstatus function to restore the welcome message.)

  • + Share This
  • 🔖 Save To Your Account