Export (0) Print
Expand All

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft