Multi-line text input field on a form.
Platform Support
| IE | Mozilla | Netscape | Opera | Safari | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
|---|
Constructors
| Constructor | Action | IE | Mozilla | Netscape | Opera | Safari | ||
|---|---|---|---|---|---|---|---|---|
|
Textarea Constructor() : Textarea
Creates a new instance of a Textarea object.
|
Show Details | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ | ||
Textarea() : TextareaCreates a new instance of a Textarea object. Returns
|
||||||||
Properties
| Property | Action | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|---|
|
static onchange
: <textarea>
Event handler for when a user changes the text and moves the focus off of the field.
|
Show Details | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
|
||||||
|
value
: String
Value of the textarea field to be sent when the form is submitted.
|
Show Details | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
|
||||||
References
Form|HTMLElement|Input|Password|Text|HTMLTextAreaElement
Availability
JavaScript 1.0|enhanced in JavaScript 1.1|W3C
