Previous Example-|-Next Example-|-Return to Chapter Listing
Example 2.7:
Welcome Messages (Using onload)
When you loaded this page you should have seen the emergency message in a JavaScript Alert dialog box. This time, though, the message appeared after the document had loaded. You can use the browser's Reload command to see the message again.
This is the script we used:
Previous Example-|-Next Example-|-Return to Chapter Listing