The DocumentComplete Event May Not Be Triggered When You Open a New Browser Window (316593)



The information in this article applies to:

  • Microsoft Internet Explorer 5.5 for Windows NT 4.0 SP 2
  • Microsoft Internet Explorer 5.5 for Windows Millennium Edition SP 2
  • Microsoft Internet Explorer 5.5 for Windows 98 Second Edition SP 2
  • Microsoft Internet Explorer 5.5 for Windows 98 SP 2
  • Microsoft Internet Explorer 5.5 for Windows 95 SP 2
  • Microsoft Internet Explorer 5.5 for Windows 2000 SP 2
  • Microsoft Internet Explorer version 6 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows 98
  • Microsoft Internet Explorer version 6 for Windows 98 Second Edition
  • Microsoft Internet Explorer version 6 for Windows NT 4.0
  • Microsoft Internet Explorer version 6 for Windows XP

This article was previously published under Q316593

SYMPTOMS

In Internet Explorer 5.5 Service Pack 2 (SP2) and Internet Explorer 6, the DocumentComplete event may not be triggered as expected. This problem is likely to occur if you are browsing in a new Internet Explorer window (for example, if you are browsing after you click a link that opens a new Internet Explorer window).

CAUSE

This problem is caused by a previous fix to Mshtml.dll.

RESOLUTION

Internet Explorer 6

To resolve this problem, obtain the latest service pack for Internet Explorer 6. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328548 How to Obtain the Latest Internet Explorer 6 Service Pack

The English version of this fix should have the following file attributes or later:
   Date         Time   Version         Size       File name
   ---------------------------------------------------------
   19-Mar-2002  09:38  6.00.2715.1900  2,754,048  Mshtml.dll
				

WORKAROUND

To work around this behavior, Web page developers can use the DownloadComplete event instead of the DocumentComplete event. However, this may not achieve the same results.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer 6 Service Pack 1.

Modification Type:MinorLast Reviewed:4/4/2005
Keywords:kbbug kbfix kbIE600preSP1fix kbIE600sp1fix KB316593