Previous Example-|-Next Example-|-Return to Chapter Listing
Example 7.4:
Returning Values
This Web page has just called a function which displays the Prompt box. The user types some text in and clicks on OK. The function 'returns' this text. Then the script writes the text into 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