The textarea Object [2|3|I]
The textarea object reflects a multi-line text field from an HTML form in JavaScript.
Properties
defaultValue— A string value containing the default value of the textarea element (that is, the value of the value attribute).
enabled— A Boolean value indicating whether the textarea field is enabled. (Not 2|3.)
form— A reference to the form object containing the textarea field. (Not 2|3.)
name— A string value containing the name of the textarea element.
type— A string value reflecting the type of the textarea object. (Not 2|I)
value— A string value containing the value of the textarea element.
Methods
blur()— Emulates the action of removing focus from the textarea field.
focus()— Emulates the action of focusing in the textarea ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.