Previous Example-|-Next Example-|-Return to Chapter Listing
Example 6.11:
Boolean "Not"
Click on the button to see the value in bStatus. If bStatus does not equal true, the first alert box is displayed:
This seems to be the same as Example 6-3, but we've created the if statement differently, using a Boolean Not operator (!).
This is the script we used. First, this in the HEAD:
Then these buttons:
Previous Example-|-Next Example-|-Return to Chapter Listing