IHTMLSelectElement interface
This interface provides access to the properties and methods of the select element.
Members
The IHTMLSelectElement interface inherits from the IDispatch interface. IHTMLSelectElement also has these types of members:
- Methods
- Properties
Methods
The IHTMLSelectElement interface has these methods.
Method | Description |
---|---|
add | Adds an element to the areas, controlRange, or options collection. |
item | Retrieves a select object or an object from an options collection. |
remove | Removes an element from the collection. |
tags | Retrieves a collection of objects that have the specified HTML tag name. |
Properties
The IHTMLSelectElement interface has these properties.
Property | Description |
---|---|
Sets or retrieves a value that indicates whether the user can interact with the object. |
|
Retrieves a reference to the form that the object is embedded in. |
|
Sets or retrieves the number of objects in a collection. |
|
Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. |
|
Sets or retrieves the name of the object. |
|
Sets or retrieves the index of the selected option in a select object. |
|
Sets or retrieves the number of rows in the list box. |
|
Retrieves the type of select control based on the value of the IHTMLSelectElement::multiple attribute. |
|
Sets or retrieves the value which is returned to the server when the form control is submitted. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |
See also
Reference