IHtmlInputElement
public interface IHtmlInputElement : IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IElementCssInlineStyle, IGlobalEventHandlers, IValidation
Represents the input HTML element.
Gets or sets the accept HTML attribute, containing comma-separated
list of file types accepted by the server when type is file.
Gets or sets the alternative text.
Gets or sets the autocomplete HTML attribute, indicating whether
the value of the control can be automatically completed by the
browser. Ignored if the value of the type attribute is hidden,
checkbox, radio, file, or a button type (button, submit, reset,
image).
Gets or sets the autofocus HTML attribute, which indicates whether
the control should have input focus when the page loads.
Gets or sets the default value.
Gets or sets the directionality of the form element.
Gets or sets the display height of the input element.
Gets or sets the display width of the input element.
Gets a list of selected files.
Gets the associated HTML form element.
Gets or sets the URI of a resource that processes information
submitted by the button. If specified, this attribute overrides the
action attribute of the form element that owns this element.
Gets or sets the type of content that is used to submit the form to
the server. If specified, this attribute overrides the enctype
attribute of the form element that owns this element.
Gets or sets the HTTP method that the browser uses to submit the
form. If specified, this attribute overrides the method attribute
of the form element that owns this element.
Gets or sets that the form is not to be validated when it is
submitted. If specified, this attribute overrides the enctype
attribute of the form element that owns this element.
Gets or sets A name or keyword indicating where to display the
response that is received after submitting the form. If specified,
this attribute overrides the target attribute of the form element
that owns this element.
Gets if the input field has a value (via attribute or directly).
Gets or sets if the input element is checked or not.
Gets or sets
Gets or sets if the textarea is enabled or disabled.
Gets or sets if the state if indeterminate.
Gets or sets the multiple HTML attribute, whichindicates whether
multiple items can be selected.
Gets or sets if the field is read-only.
Gets or sets if the field is required.
Gets the list of assigned labels.
Gets the datalist element in the same document. Only options that
are valid values for this input element will be displayed. This
attribute is ignored when the type attribute's value is hidden,
checkbox, radio, file, or a button type.
Gets or sets max HTML attribute, containing the maximum (numeric
or date-time) value for this item, which must not be less than its
minimum (min attribute) value.
Gets or sets the maxlength HTML attribute, indicating the maximum
number of characters the user can enter. This constraint is
evaluated only when the value changes.
Gets or sets the min HTML attribute, containing the minimum (numeric
or date-time) value for this item, which must not be greater than
its maximum (max attribute) value.
Gets or sets the name of the element.
Gets or sets the pattern HTML attribute, containing a regular
expression that the control's value is checked against. The pattern
must match the entire value, not just some subset. This attribute
applies when the value of the type attribute is text, search, tel,
url or email; otherwise it is ignored.
Gets or sets the placeholder HTML attribute, containing a hint to
the user about what to enter in the control.
Gets the direction in which selection occurred. This is "forward" if
selection was performed in the start-to-end direction of the current
locale, or "backward" for the opposite direction.
Gets or sets the index of the end of selected text. If no text
is selected, contains the index of the character that follows the
input cursor. On being set, the control behaves as if
setSelectionRange() had been called with this as the second
argument, and selectionStart as the first argument.
Gets or sets the index of the beginning of selected text. If no
text is selected, contains the index of the character that
follows the input cursor. On being set, the control behaves as if
setSelectionRange() had been called with this as the first argument,
and selectionEnd as the second argument.
Gets or sets the display size of the element.
Gets or sets the image source.
Gets or sets the step HTML attribute, which works with min and max
to limit the increments at which a numeric or date-time value can be
set. It can be the string any or a positive floating point number.
If this is not set to any, the control accepts only values at
multiples of the step value greater than the minimum.
Gets or sets the type of input control.
Gets or sets the value.
Gets or sets the value of the element, interpreted as a date, or
null if conversion is not possible.
Gets or sets the value of the element, interpreted as one of the
following in order:
1.) Time value
2.) Number
3.) otherwise NaN.
Selects a range of text, and sets selectionStart and selectionEnd.
If either argument is greater than the length of the value, it is
treated as pointing to the end of the value. If end is less than
start, then both are treated as the value of end.
void SelectAll()
Selects the contents of the textarea.
Decrements the value by (step * n), where n defaults to 1 if not
specified.
Increments the value by (step * n), where n defaults to 1 if not
specified.