Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IHTMLInputTextElement
Collapse the table of content
Expand the table of content

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

The IHTMLInputTextElement interface has these methods.

MethodDescription
createTextRange

Creates a TextRange object for the element.

select

Highlights the input area of a form element.

 

Properties

The IHTMLInputTextElement interface has these properties.

PropertyDescription

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

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch
Reference
IHTMLInputElement
IHTMLInputButtonElement::type

 

 

Community Additions

ADD
Show:
© 2015 Microsoft