Previous Example-|-Next Chapter's Examples-|-Return to Chapter Listing
Example 6.22:
Using the switch Statement
[This example works with Netscape Navigator 4. It will not work with Netscape Navigator 3 or Internet Explorer 3.]
Click on the button and type something to run the switch.
In the HEAD we have this script:
In the BODY of the page we have this button:
Previous Example-|-Next Chapter's Examples-|-Return to Chapter Listing