Article ID: 2905727 - View products that this article applies to.
You have an HTML webpage that contains INPUT fields that are embedded in DIV tags. You use scripting in your webpage and replace the surrounding DIV container by using the innerHTML property. (This property also includes your focused INPUT field.) In this situation, the webpage no longer has the focus.
This problem occurs because the document.ActiveElement property is set to null.
Note It is the expected behavior in IE9 Standards mode and later modes that the document.ActiveElement property is set to null when you use the innerHTML property to replace the surrounding DIV container.
Update informationTo resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update
For technical information about the most recent cumulative security update for Internet Explorer, go to the following Microsoft website:
http://www.microsoft.com/technet/security/current.aspxNote This update was first included in security update 2888505.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/2888505/ )MS13-088: Cumulative Security Update for Internet Explorer: November 12, 2013
To work around this problem when the content is changed by using the innerHTML property and when the document.ActiveElement is null, set the innerHTML property to the body by calling document.body.setActive(), as appropriate for your situation.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This update changes the functionality for the legacy IE7 document mode and IE8 document mode (such as in Compatibility View) in Internet Explorer 10 so that the document modes perform the same fallback as they did in earlier Internet Explorer versions:
See the terminology
(https://support.microsoft.com/kb/824684/ )Microsoft uses to describe software updates.
Article ID: 2905727 - Last Review: November 15, 2013 - Revision: 4.0