Webpage loses focus when innerHTML replaces DIVs containing INPUT fields
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:Note 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:
- When you use "Internet Explorer 7" document mode, the document.ActiveElement property is set to the BODY tag.
- When you use the "Internet Explorer 8" document mode, the document.ActiveElement property is set to the HTML tag.
Article ID: 2905727 - Last Review: 11/15/2013 17:16:00 - Revision: 4.0
- kbqfe kbbug kbfix kbexpertiseinter kbsurveynew KB2905727