Previous Example-|-Next Example-|-Return to Chapter Listing
Example 6.2:
Using = Instead of ==
Yes, we know you saw an error message when you opened this page... (at least if you're working with Netscape Navigator; Internet Explorer doesn't display the error message.)
That's because we replaced the == in the conditional expression with =. You'll find that the buttons still work correctly, though:
This is the script we used:
Previous Example-|-Next Example-|-Return to Chapter Listing