DOM:element.onfocus
From MDC
Contents |
[edit] Summary
The onfocus property returns the onFocus event handler code on the current element.
[edit] Syntax
event handling code = element.onfocus
[edit] Notes
The focus event is raised when the user sets focus on the given element.
Oppsite to MSIE, which almost all kinds of elements receive focus event, almost all kinds of elements on gecko browsers do NOT work with this event.
[edit] Specification
Not part of specification.