HTMLTextAreaElement
Provides special properties and methods for manipulating the layout and presentation of elements.
§Extends
§Properties
Retrieves a reference to the form that the object is embedded in.
Sets or retrieves the maximum number of characters that the user can enter in a text control.
Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
Sets or retrieves the value indicated whether the content of the object is read-only.
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
Returns a ValidityState object that represents the validity states of an element.
§Methods
Returns whether a form will validate when it is submitted, without having to submit it.
Sets a custom error message that is displayed when a form is submitted.
Sets a custom error message that is displayed when a form is submitted.
Sets the start and end positions of a selection in a text field.
The offset into the text field for the start of the selection.
The offset into the text field for the end of the selection.
The direction in which the selection is performed.