Freigeben über


IHTMLButtonElement interface

Renders content as an HTML button.

Members

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

  • Methods
  • Properties

Methods

The IHTMLButtonElement interface has these methods.

Method Description
createTextRange

Creates a TextRange object for the element.

 

Properties

The IHTMLButtonElement interface has these properties.

Property Description

disabled

Sets or retrieves a value that indicates whether the user can interact with the object.

form

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

name

Sets or retrieves the name of the object.

status

Sets or retrieves the value indicating whether the control is selected.

type

Gets the classification and default behavior of the button.

value

Sets or retrieves the default or selected value of the control.

 

Remarks

The button 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