共用方式為


IHTMLInputButtonElement interface

This interface specifies a type of input control.

Members

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

  • Methods
  • Properties

Methods

The IHTMLInputButtonElement interface has these methods.

Method Description
createTextRange

Creates a TextRange object for the element.

 

Properties

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

Retrieves or initially sets (IHTMLInputElement only) the type of input control represented by the object.

value

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

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLInputElement

IHTMLInputButtonElement::type