Previous Example-|-Next Example-|-Return to Chapter Listing
Example 7.6:
Multiple Returns
This Web page calls a function which displays the Confirm box. The user clicks the OK or Cancel button. There are two different return statements depending on which button is clicked. The text returned is then displayed in the Web document, below:
These are the scripts we used. First, in the HEAD:
Later in the Web page:
Previous Example-|-Next Example-|-Return to Chapter Listing