IHTMLInputElement interface

This interface specifies any type of input control.

Members

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

  • Methods
  • Properties

Methods

The IHTMLInputElement 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 IHTMLInputElement interface has these properties.

Property Description

align

Sets or retrieves how the object is aligned with adjacent text.

alt

Sets or retrieves a text alternative to the graphic.

border

Sets or retrieves the width of the border to draw around the object.

checked

Sets or retrieves the state of the check box or radio button.

complete

Retrieves whether the object is fully loaded.

defaultChecked

Sets or retrieves the state of the check box or radio button.

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.

dynsrc

This property is deprecated. Sets or retrieves the address of a video clip or VRML world to display in the window.

form

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

height

Sets or retrieves the height of the object.

hspace

Sets or retrieves the horizontal margin for the object.

indeterminate

Sets or retrieves whether the user has changed the status of a input type=checkbox element. On a HTMLProgressElement element will show activity but not a specific amount.

loop

Sets or retrieves the number of times a sound or video clip will loop when activated.

lowsrc

Sets or retrieves a lower resolution image to display.

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.

onload

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onload event. The HTMLFrameSiteEvents::onload event occurs immediately after the browser loads the object.

readOnly

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

readyState

Retrieves a value that indicates the current state of the object.

size

Sets or retrieves the size of the control.

src

Sets or retrieves a URL to be loaded by the object.

start

Sets or retrieves when a video clip file should begin playing.

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.

vrml

Sets or retrieves the IHTMLDocument2::URL of the VRML world to be displayed in the window.

vspace

Sets or retrieves the vertical margin for the object.

width

Sets or retrieves the calculated width of the object.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch