This interface specifies any type of input control.
IHTMLInputElement Methods
createTextRange Creates a TextRange object for the element. You use a text range to examine and modify the text within the element. get_align Retrieves how the element is aligned with adjacent text. get_alt Retrieves the optional text as an alternative to the graphic for rendering in nongraphical environments. Alternate text should be provided whenever the graphic is not rendered. get_border Retrieves the current width of the border around the element. get_checked Retrieves the value that indicates whether the given check box or radio button is selected. get_complete Retrieves the value that indicates whether the specified INPUT element is fully loaded. get_defaultChecked Retrieves the value that indicates whether the check box or radio button is selected by default. get_defaultValue Retrieves the initial contents of a password or text control or the TEXTAREA element. get_disabled Retrieves the value that indicates whether the INPUT control is enabled or disabled. get_dynsrc Retrieves the address of a video clip or VRML world to be displayed in the input image window. get_form Retrieves a reference to the form the element is embedded on. get_height Retrieves the calculated height of the element, in pixels. get_hspace Retrieves the horizontal margins for the element. get_indeterminate Retrieves the value that indicates whether the INPUT type=checkbox element is in the indeterminate state. An indeterminate check box has a dimmed background to represent an indeterminate state. get_loop Retrieves the number of times a video loops when activated. get_lowsrc Retrieves the URL of a lower-resolution image to display. get_maxLength Retrieves the maximum number of characters that can be entered into the control. get_name Retrieves the name of the control. get_onabort Retrieves a pointer to the event handler function associated with the onabort event for an INPUT type=image element. An onabort event occurs when the loading of a document or image causes an error. get_onchange Retrieves a pointer to the event handler function associated with the onchange event for an INPUT element. get_onerror Retrieves a pointer to the event handler function associated with the onerror event for an INPUT type=image element. An onerror event occurs when the loading of a document or image causes an error. get_onload Retrieves a pointer to the event handler function associated with the onload event for an INPUT type=image element. An onload event occurs immediately after the browser loads the given object. get_onselect Retrieves a pointer to the event handler function associated with the onselect event for an INPUT element. get_readOnly Retrieves the value that indicates whether the element's contents are read-only, meaning that the user cannot enter or edit text in the control. get_readyState Retrieves the current state of an object being downloaded. get_size Retrieves the number of bytes in the file to be transferred. get_src Retrieves the URL of a sound to be played. get_start Retrieves when a video clip should start playing for the INPUT type=image element. get_status Retrieves the status of the INPUT control. get_type Retrieves the type of the INPUT control. get_value Retrieves the value of the INPUT control. get_vrml Retrieves the URL of the VRML world to be displayed in the window. get_vspace Retrieves the vertical margins for the element, in pixels. get_width Retrieves the calculated width of the element, in pixels. put_align Sets how the element is aligned with adjacent text. put_alt Sets the optional text as an alternative to the graphic for rendering in nongraphical environments. Alternate text should be provided whenever the graphic is not rendered. put_border Sets the width of the border around the element. put_checked Sets the value that indicates whether the given check box or radio button is selected. put_defaultChecked Sets the value that indicates whether the check box or radio button is selected by default. put_defaultValue Sets the initial contents of a password or text control or the TEXTAREA element. put_disabled Sets the value that indicates whether the INPUT control is enabled or disabled. put_dynsrc Sets the address of a video clip or VRML world to be displayed in the image window. put_height Sets the calculated height of the element, in pixels. put_hspace Sets the horizontal margins for the element. put_indeterminate Sets the value that indicates whether the INPUT type=checkbox element is in the indeterminate state. An indeterminate check box has a dimmed background to represent an indeterminate state. put_loop Sets the number of times a video will loop when activated. put_lowsrc Sets the URL of a lower-resolution image to display. put_maxLength Sets the maximum number of characters that can be entered into the control. put_name Sets the name of the control. put_onabort Sets a pointer to the event handler function associated with the onabort event for an INPUT type=image element. An onabort event occurs when the loading of a document or image causes an error. put_onchange Sets a pointer to the event handler function associated with the onchange event for an INPUT element. put_onerror Sets a pointer to the event handler function associated with the onerror event for an INPUT type=image element. An onerror event occurs when the loading of a document or image causes an error. put_onload Sets a pointer to the event handler function associated with the onload event for an INPUT type=image element. An onload event occurs immediately after the browser loads the given object. put_onselect Sets a pointer to the event handler function associated with the onselect event for an INPUT element. put_readOnly Sets the value that indicates whether the element's contents are read-only, meaning that the user cannot enter or edit text in the control. put_size Sets the size of the control. put_src Sets the URL of an image to be shown. put_start Sets when a video clip file should start playing for the INPUT type=image element. put_status Sets the status of the INPUT control. put_type Sets the type of the INPUT control. put_value Sets the value of the INPUT control. put_vrml Specifies the URL of a VRML world to be displayed in the window. put_vspace Sets the vertical margins for the element, in pixels. put_width Sets the calculated width of the element, in pixels. select Highlights the input area of the INPUT control.
Interface Information
Implementation System (Mshtml.dll) Inherits from IDispatch Header and IDL files Mshtml.h, Mshtml.idl Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95, Windows NT 4.0