[webkit-dev] Get current focused element

4mi(r|x) amix at amix.dk
Sat Jan 28 03:21:14 PST 2006


Hello :)

I am new on the list and I am developing an addition for Safari.
I would like to know if there is a way of getting the current focused element.
An example, if the focus is on a text-field, then this text-field is returned.
It seems that Mozilla browsers have a
document.commandDispatcher.focusedElement - - is there something
similar in WebKit?

Kind regards
Amir Salihefendic [http://amix.dk]



More information about the webkit-dev mailing list