Active Desktop Channel with JavaScript May Cause Script Errors in Internet Explorer 5

ID: Q221244


The information in this article applies to:
  • Microsoft Internet Explorer version 5 for Windows 95
  • Microsoft Internet Explorer version 5 for Windows 98
  • Microsoft Internet Explorer version 5 for Windows NT 4.0


SYMPTOMS

When you use an Active Desktop channel that contains JavaScript, you may receive script errors. When this occurs, a yellow warning icon appears in the lower-left corner of the browser. If you double-click the icon, you see the following error message:

Problems with this Web page might prevent it from being displayed properly or functioning properly.
If you click Details, you see a reference to the exact line of code causing the error message.


CAUSE

If a page is not authored to adhere to the European Computer Manufacturers Association (ECMA) 262 Specification for JavaScript, numeric characters that start with 00 in the script in any page are treated as octal numbers.

The Details section of the error message provides a pointer to the exact line of code containing a "00."


RESOLUTION

To correct this behavior, the numeric characters in the script authored in the "00.x" format need to be modified to the "0.x" or ".x" format.


MORE INFORMATION

Microsoft Internet Explorer 5.0 is compliant with the ECMA 262 Specification for JavaScript.

Additional query words:

Keywords : kberrmsg msiew95 msient msiew98
Version : WINDOWS:5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: April 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.