I would like to find out, in GWT, which element currently has focus. Basically i was working on virtual keyboard in our application. All keys are working fine except tab key
We can now use the Elemental library to accomplish this.
http://www.gwtproject.org/articles/elemental.html
the exact function would be
elemental.client.Browser.getDocument().getActiveElement()