How to check wether HTMLEditBox has focus or not
EditBox has Focus property but HTMLEditBox("Name=Email") doesn't have Focus property, so how do i check whether HTMLEditBox has focus or not.
Re: How to check wether HTMLEditBox has focus or n
To do it with pure VBA, check out the code in this example http://www.vbcode.com/asp/showsn.asp?theID=10815
The first Sub "getBrowsers()" connects you to an IE window where you can examine the entire DOM.
Current focus is found with "w.Document.activeElement" along with a property eg ".Name", ".ID" or ".parent.ID".