Multi-line text input field on a form.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
Creates a new instance of a Textarea object. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari |
|---|---|---|---|---|---|
Event handler for when a user changes the text and moves the focus off of the field. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Value of the textarea field to be sent when the form is submitted. | 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
Constructor Detail
Property Detail
static <textarea> onchange
Event handler for when a user changes the text and moves the focus off of the field.
- See Also
HTMLElement.onkeypress | Input.onchange | Event | EventListener | EventTarget
- Availability
JavaScript 1.0
String value
Value of the textarea field to be sent when the form is submitted.
- Availability
W3C
