focusfocus*
*Contents  *Index  *Topic Contents
*Previous Topic: findText
*Next Topic: forward

focus

Description

Causes a control to receive the focus and executes the code specified by onfocus.

Syntax

object.focus( )

Return Value

No return value.

Applies To

A, APPLET, AREA, BODY, BUTTON, CAPTION, DIV, EMBED, FIELDSET, FRAME, FRAMESET, HR, IFRAME, IMG, INPUT, MARQUEE, OBJECT, SELECT, SPAN, TABLE, TD, TEXTAREA, TR, window


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.