This sample uses the onfocus event to set style on an INPUT_text control. By setting the backgroundColor, fontSize, color, and fontWeight, Web authors can use the onfocus event to help make forms more accessible.
[Right-click and choose View Source from the shortcut menu.]
© 2007 Microsoft Corporation. All rights reserved. Terms of use.