Compartilhar via


IHTMLInputTextElement interface

This interface specifies a type of input control.

Members

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

  • Methods
  • Properties

Methods

The IHTMLInputTextElement interface has these methods.

Method Description
createTextRange

Creates a TextRange object for the element.

select

Highlights the input area of a form element.

 

Properties

The IHTMLInputTextElement interface has these properties.

Property Description

defaultValue

Sets or retrieves the initial contents of the object.

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.

maxLength

Sets or retrieves the maximum number of characters that the user can enter in a text control.

name

Sets or retrieves the name of the object.

readOnly

Sets or retrieves the value indicated whether the content of the object is read-only.

size

Sets or retrieves the size of the control.

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 displayed value for the control object. This value is returned to the server when the control object 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

IDispatch

Reference

IHTMLInputElement

IHTMLInputButtonElement::type