Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IHTMLOptionElement interface

This interface denotes one choice in a select block.

Members

The IHTMLOptionElement interface inherits from the IDispatch interface. IHTMLOptionElement also has these types of members:

Properties

The IHTMLOptionElement interface has these properties.

PropertyDescription

defaultSelected

Sets or retrieves the status of an option.

form

Retrieves a reference to the form that the object is embedded in.

index

Sets or retrieves the ordinal position of an option in a list box.

selected

Sets or retrieves whether the option in the list box is the default item.

text

Sets or retrieves the text string specified by the option tag.

value

Sets or retrieves the value which is returned to the server when the form control is submitted.

 

Remarks

The option element is a block element.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

 

 

Show:
© 2016 Microsoft