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.

Table 7.46. 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 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.