pp108 : DOMFocusIn

DOMFocusIn


This event is fired when focus is brought on a control.

Syntax

DesignTime

This is a design-time property and can be set through the property sheet of the control.


Event Information

To invoke

Click on the element or use the javascript focus() method to set the focus on an element.

Default Action

Sets focus an element and initiates any action associated with it.

Named Script

DOMFocusIn


Event Object Properties

Property

Description

srcElement

Reference to the control.



An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.

Applies to


Input, Password, Textarea, Check, Select, List