Fires when the object receives the focus.
Syntax
void onfocus();
Return Value
None. The event continues processing with the parent element's event handler.
Remarks
For more information, see onfocus in the Dynamic HTML Reference.
This event is available in Microsoft® Internet Explorer 4.0 and later.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Applies To
Anchor, Area, Button, Document, Element, Form, Image, InputFile, InputImage, InputText, Link, Label, Map, Marquee, Object, OptionButton, Script, Select, Style, Table, TextContainer, Window2