Article ID: 320731 - View products that this article applies to.
When you dynamically add an object that contains an attached behavior to a Web page, and the behavior must be downloaded, the progress bar in Microsoft Internet Explorer continues to increase. The progress bar continues to show progress even after the behavior is downloaded, and the page is rendered. However, the attached behavior works correctly without any unexpected problems.
This issue may occur when Every visit to the page is selected for the Check for newer versions of stored pages option in Internet Explorer.
To view the Check for newer versions of stored pages option, follow these steps:
To work around this issue, take either of the following actions:
NOTE: This issue may not be isolated to behaviors only. You may experience a problem with any element that must be downloaded, such as an image.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This issue occurs if you dynamically add an attached behavior by replacing the inner HTML of an element, such as the DIV element, by using the createElement method or the insertAdjacentHTML method, or by dynamically changing the className property of an element.
Steps to reproduce the behavior
For additional information about developing Web-based solutions for Internet Explorer, visit the following Microsoft Developer Network (MSDN) Web sites:
Internet Explorer updates
http://msdn.microsoft.com/ie/Using DHTML behavior
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/howto/using.aspUsing HTML components to implement DHTML behaviors in script
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 320731 - Last Review: June 19, 2014 - Revision: 8.0
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.