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

Exercises

To gain more experience working with browser objects in JavaScript, perform the following exercises:

  • Modify the Back and Forward example in Listing 10.2 to include a Reload button along with the Back and Forward buttons. (This button would trigger the location.reload() method.)

  • Modify the Back and Forward example to display the current number of history entries.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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