org.w3c.dom.html
public interface HTMLTextAreaElement extends HTMLElement
See also the Document Object Model (DOM) Level 1 Specification (Second Edition).
Method Summary | |
---|---|
void | blur()
Removes keyboard focus from this element. |
void | focus()
Gives keyboard focus to this element. |
String | getAccessKey()
A single character access key to give access to the form control. |
int | getCols()
Width of control (in characters). |
String | getDefaultValue()
Represents the contents of the element. |
boolean | getDisabled()
The control is unavailable in this context. |
HTMLFormElement | getForm()
Returns the FORM element containing this control. |
String | getName()
Form control or object name when submitted with a form. |
boolean | getReadOnly()
This control is read-only. |
int | getRows()
Number of text rows. |
int | getTabIndex()
Index that represents the element's position in the tabbing order. |
String | getType()
The type of this form control. |
String | getValue()
Represents the current contents of the corresponding form control, in
an interactive user agent. |
void | select()
Select the contents of the TEXTAREA . |
void | setAccessKey(String accessKey) |
void | setCols(int cols) |
void | setDefaultValue(String defaultValue) |
void | setDisabled(boolean disabled) |
void | setName(String name) |
void | setReadOnly(boolean readOnly) |
void | setRows(int rows) |
void | setTabIndex(int tabIndex) |
void | setValue(String value) |
FORM
element containing this control. Returns
null
if this control is not within the context of a
form.DOMString
, the implementation may truncate the data.TEXTAREA
.