Methods and Properties of the Textarea Object : TextArea « Form Control « JavaScript DHTML






Methods and Properties of the Textarea Object

  

Method
blur()           Removes the focus from the text area.
focus()          Gives the focus to the text area.
handleEvent()    Invokes the default handler for the specified event.
select()         Selects the text in the text area.

Property
defaultValue     Returns the value defined between the beginning and ending 'textarea' tags.
form             Returns the entire form the text area is in.
name             Returns the name of this text area, specified by the name attribute.
type             Returns the type of this text area.
value            Returns the value that is actually displayed in the text area.
           
         
    
  








Related examples in the same category

1.Textarea rows
2.Is TextArea Multiline
3.TextArea type
4.TextArea wrap
5.TextArea Columns Example
6.TextArea 'value'
7.Select the text in text area
8.Set TextArea to be Active
9.Auto type textarea
10.Not empty TextArea
11.TextArea on key up event
12.Append text to textarea
13.TextArea on change event
14.TextArea on key down event
15.TextArea on key press event
16.Getting and Setting a Text Object's Value