Previous Example-|-Next Example-|-Return to Chapter Listing
Example 12.14:
onerror: Suppressing Errors and Displaying a Message
[This example works with Netscape Navigator 3. It will not work with Internet Explorer 3.]
This is similar to the previous example, but this time we've used a different method for suppressing the error messages--we've used return true and we've also displayed an error message of our own making.
In the HEAD we have this script:
In the BODY of the page we have this button:
Previous Example-|-Next Example-|-Return to Chapter Listing