# class HTMLTextAreaElement

###

Module | khtml
Namespace | DOM
Class | HTMLTextAreaElement
Inherits | DOM::HTMLElement

Multi-line text field. See the TEXTAREA element definition in HTML 4.0.

### methods

- HTMLTextAreaElement ( )

  returns ctor

- HTMLTextAreaElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLTextAreaElement |

- HTMLTextAreaElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLTextAreaElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLTextAreaElementImpl |

- accessKey ( )

  returns DOM.DOMString

  A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

- blur ( )

  returns Nothing

  Removes keyboard focus from this element.

- cols ( )

  returns long

  Width of control (in characters). See the cols attribute definition in HTML 4.0.

- defaultValue ( )

  returns DOM.DOMString

  Stores the initial control value (i.e., the initial value of value ).

- disabled ( )

  returns bool

  The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.

- focus ( )

  returns Nothing

  Gives keyboard focus to this element.

- form ( )

  returns DOM.HTMLFormElement

  ### KDE 4.0: remove.

- name ( )

  returns DOM.DOMString

  Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

- readOnly ( )

  returns bool

  This control is read-only. See the readonly attribute definition in HTML 4.0.

- rows ( )

  returns long

  Number of text rows. See the rows attribute definition in HTML 4.0.

- select ( )

  returns Nothing

  Select the contents of the TEXTAREA .

- selectionEnd ( )

  returns long

  Returns the character offset of end of selection, or if none, the cursor position. NOTE: this method is not part of the DOM, but a Mozilla extension

- selectionStart ( )

  returns long

  Returns the character offset of beginning of selection, or if none, the cursor position. NOTE: this method is not part of the DOM, but a Mozilla extension

- setAccessKey (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see accessKey

- setCols (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see cols

- setDefaultValue (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see defaultValue

- setDisabled (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

  see disabled

- setName (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see name

- setReadOnly (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

  see readOnly

- setRows (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see rows

- setSelectionEnd (offset)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  offset | long |

  Move the end of the selection (and the cursor) to the given offset in text NOTE: this method is not part of the DOM, but a Mozilla extension

- setSelectionRange (start, end)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  start | long |
  end | long |

  Selects the text from start to end, and positions the cursor after the selection. NOTE: this method is not part of the DOM, but a Mozilla extension

- setSelectionStart (offset)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  offset | long |

  Move the beginning of the selection to the given offset in text NOTE: this method is not part of the DOM, but a Mozilla extension

- setTabIndex (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | long |

  see tabIndex

- setValue (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see value

- tabIndex ( )

  returns long

  Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

- textLength ( )

  returns long

  Returns the length of the text. NOTE: this method is not part of the DOM, but a Mozilla extension

- type ( )

  returns DOM.DOMString

  The type of this form control.

- value ( )

  returns DOM.DOMString

  The current textual content of the multi-line text field. If the entirety of the data can not fit into a single wstring, the implementation may truncate the data.