Textarea : HTMLElement
Return to: HTML DOM Level 0 index

Multi-line text input field on a form.

Platform Support

IE Mozilla Netscape Opera Chrome Safari
3.0+ 1.0+ 2.0+ 7.0+ 5.0+ 1.0+

Constructors

Constructor Action IE Mozilla Netscape Opera Chrome Safari
Creates a new instance of a Textarea object.
Show Details 3.0+ 1.0+ 2.0+ 7.0+ 5.0+ 1.0+

Textarea() : Textarea

Creates a new instance of a Textarea object.

Returns
Textarea

Visibility
internal

Properties

Property Action IE Mozilla Netscape Opera Chrome Safari
onchange : Function
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+ 5.0+ 1.0+
See Also

HTMLElement.onkeypress|Input.onchange|Event|EventListener|EventTarget

Availability

JavaScript 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+ 5.0+ 1.0+
Availability

W3C

References

Form|HTMLElement|Input|Password|Text|HTMLTextAreaElement

Availability

JavaScript 1.0|enhanced in JavaScript 1.1|W3C

text_javascript aptana_docs