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



The information in this article applies to:

  • Microsoft Internet Explorer 5.0 for Windows NT 4.0
  • Microsoft Internet Explorer 5.0 for Windows 98
  • Microsoft Internet Explorer 5.0 for Windows 95

This article was previously published under Q221244

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.

Modification Type:MajorLast Reviewed:11/14/2003
Keywords:kberrmsg kbprb KB221244