SELECT HTML Element
The SELECT element denotes a list box or drop-down list. This is an inline element and requires a closing tag.
Attributes
Attribute | Value | Description |
---|---|---|
ACCESSKEY | 0...9, #, * | Gives access or focus to an active HTML element by using a keyboard character.
Note For Pocket PCs, supported only for devices running Windows Mobile 2003 software or later. |
CLASS | Associates the element with a CSS style.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
DISABLED | Disables the element so that it appears dimmed and does not respond to user input.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
ID | Uniquely identifies the element within a document.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
MULTIPLE | Specifies that multiple items can be selected. | |
NAME | String | Specifies a name for the select control, which is submitted (a name or value pair for each selected OPTION element) so that script can reference the control. |
ONBLUR | Event that occurs when the select control loses focus by the pointing device or by tabbing navigation.
Note Supported only for devices running Windows Mobile 2002 software or later. |
|
ONCHANGE | Event that occurs when the select control loses the input focus and its value has been modified since gaining focus.
Note Supported only for devices running Windows Mobile 2002 software or later. |
|
ONFOCUS | Event that occurs when the select control receives focus by a pointing device or by tabbing navigation.
Note Supported only for devices running Windows Mobile 2002 software or later. |
|
SIZE | 0...#
1 (default) |
Specifies the select control size. When the default value is used, a combo box is rendered. For values greater than 1, a list box is rendered. |
STYLE | Provides the definition of the CSS styles used for this element.
Note Supported only for devices running Windows Mobile 2003 software or later. |
|
TABINDEX | Sets the order in which elements are tabbed to.
Note Supported only for devices running Windows Mobile 2003 software or later. |
Requirements
Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.