onbeforeeditfocus | NN n/a IE 5(Win) DOM n/a
| Bubbles: Yes; Cancelable: Yes
Fires just before an editable element receives official focus by a user clicking or tabbing to the element. Editable elements include text-oriented form controls and body elements set to be editable (see the IE 5.5 contentEditable property of all elements in Chapter 9). A function invoked from this event handler can perform additional scripted actions, such as setting the color of the element text, before the user begins editing the content.
Typical Targets
Text form controls; rendered elements in edit mode (IE 5.5 or later); content governed by the DHTML Editing ActiveX control (see http://msdn.microsoft.com/workshop/browser/mshtml/).