Textarea
JavaScript1.0+, JScript1.0+ Nav2+, IE3+, Opera3+ Syntax
Core client-side JavaScript object.
Description
The Textarea object is one of the core JavaScript objects. Instances are created by the browser when it encounters an HTML <textarea> tag. In the JavaScript object hierarchy, the Textarea object is located at window.document.Form.Textarea. Table 7.46 lists the event handlers, methods, and properties used by the Textarea object.
Type | Item | Description |
---|---|---|
Event Handlers | onBlur | Executes code when the text area loses the focus. |
onChange | Executes code when the text area loses the focus and has had its value modified. | |
onFocus | Executes code when the ... |
Get Pure JavaScript now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.