window.getSelection().focusNode should work in latest sources/nightly builds

Dave

On Jan 28, 2006, at 3:21 AM, 4mi(r|x) wrote:

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]
_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

Reply via email to