BUG: document.write from Automation Client May Change URL to about:blank (272760)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.01 SP1
- Microsoft Internet Explorer (Programming) 5.5
- Microsoft Internet Explorer (Programming) 6.0
This article was previously published under Q272760 SYMPTOMS
When Internet Explorer is automated from an application that replaces the
HTML document using the document.write method, and the HTML code contains an IFrame element, the IFrame may not display the intended page. Also, the URL in the address bar may change to about:blank.
RESOLUTION
The problem does not occur when the script within the page rewrites the document. You can insert the script function that rewrites the page into the document, and then call the script function. See the "More Information" section for an example.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
185128 HOWTO: Insert Event Handler Into Web Page from WebBrowser App
For more information, see the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbAutomation kbBug kbDHTML KB272760 |
---|
|