Error Event





An error event is provided to help you intercept and handle these errors before they generate a message for the user. Two other items also provoke an error: an image that does not load up due to a problem (not caused by a user's action) and a page that does not load completely. This can happen from several causes such as a break in the Internet connection or Web server closing its connections.
Your have several options for handling errors when they're generated. First, you can suppress all errors and allow the execution of the script to continue by a adding a line at the head of the scripting section of the document.
|