Textarea : HTMLElement

Multi-line text input field on a form.

Browser/User Agent Support

IEMozillaNetscapeOperaSafari
3.0+1.0+2.0+7.0+1.0+

Constructors

ConstructorIEMozillaNetscapeOperaSafari
Creates a new instance of a Textarea object.
3.0+1.0+2.0+7.0+1.0+
 

Properties

PropertyIEMozillaNetscapeOperaSafari
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

Textarea Textarea()

Creates a new instance of a Textarea object.

Visibility
internal

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