PRB: document.readyState Not in Sync with Download in IFrame
Article ID: 188763
Article Last Modified on 5/11/2006
APPLIES TO
- Microsoft Internet Explorer 4.0 128-Bit Edition
- Microsoft Internet Explorer 4.01 Service Pack 2
- Microsoft Internet Explorer 4.01 Service Pack 1
- Microsoft Internet Explorer 5.0
This article was previously published under Q188763
SYMPTOMS
When you insert an IFrame using insertAdjacentHTML, the readyState is not
in sync with the download of the document in the new IFrame. If you check
the value of document.readyState immediately after the insertAdjacentHTML,
the readyState is set to complete, even though the document in the IFrame
has not finished loading.
STATUS
The behavior is by design. Once a document goes readystate complete, Internet Explorer does not fire onreadystatechange again.
REFERENCES
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Keywords: kbpending kbprb KB188763