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.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.