Object: HTMLTextAreaElement
HTMLTextAreaElement properties
Property name |
Type |
Description |
Status |
Availability |
|---|---|---|---|---|
accessKey |
String |
Specifies the keypad key that gives access to the form control. |
writable |
4.6 or later |
cols |
int |
Specifies the width of the text area control, in characters. |
writable |
4.6 or later |
defaultValue |
String |
Specifies the initial contents of the text area. The value of this property does not change if the contents of the text area control within the form changes. |
writable |
4.6 or later |
disabled |
boolean |
When true, indicates that the text area control is not available. |
writable |
4.6 or later |
form |
Returns the parent <form> element for the form control. Specifies the amount of white space, in pixels, to add between cell content and its borders. |
read only |
4.6 or later |
|
name |
String |
Specifies the name of the form control. This is the name portion of the name-value pair that is submitted with the form. |
writable |
4.6 or later |
readonly |
boolean |
When true, indicates that the form control cannot be modified by a user. |
writable |
4.6 or later |
rows |
int |
Specifies the height of the form control, in text rows. |
writable |
4.6 or later |
tabIndex |
int |
Specifies the tabbing order of the form control. |
writable |
4.6 or later |
type |
String |
Returns the type of form control. The value for this property is “textarea”. |
read only |
4.6 or later |
value |
String |
Specifies the current contents of the form control. This is the value portion of the name-value pair that is submitted with the form. |
writable |
4.6 or later |