The information in this article applies to:
SUMMARYThere is currently no language support for error handling in JScript. However, when using JScript in a Web page, there is a window.onerror() event, which you can use to trap errors and handle them as you wish. MORE INFORMATION
The following HTML demonstrates how to use the onerror event of the window
object to trap an error in JScript code:
REFERENCESFor information on using JScript, refer to the documentation available at the following Web site: http://msdn.microsoft.com/scripting/ Additional query words:
Keywords : kbcode kbIE300 kbIE301 kbIE400 kbIE401 kbJScript100 kbJScript200 kbJScript300 kbIE302 kbIE500 |
Last Reviewed: May 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |