The document.open Method with Replace Does Not Work in Frameset (318382)
The information in this article applies to:
- Microsoft Internet Explorer (Programming)
This article was previously published under Q318382 SYMPTOMS
When you call the document.open method with the replace parameter from a frameset, the document is not removed from the history. Therefore, if you go back in the navigation stack, you are returned to the previous document.
RESOLUTIONTo 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
------------------------------------------------------------
27-FEB-2002 12:42:50 6.0.2714.2700 2,754,048 Mshtml.dll
The update for this problem is included in the "March 28, 2002 Cumulative Patch for Internet Explorer."
WORKAROUND
To work around this problem, use one of the following methods:
- Use the innerHTML property to replace sections of the document instead of replacing all of the document.
- Set the document.location.href property.
NOTE: If you call document.location.replace, you must set up a page for each page that you want to browse to.
STATUSMicrosoft 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: | Minor | Last Reviewed: | 9/27/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbDHTML kbfix kbIE600preSP1fix kbNavigation kbIE600sp1fix KB318382 kbAudDeveloper |
---|
|