Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

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.