Methods and Properties of the Textarea Object : TextArea : Form Control : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  Form Control   » [  TextArea  ]   
 



Methods and Properties of the Textarea Object


/*
JavaScript Unleashed, Third Edition
by Richard Wagner and R. Allen Wyke 

ISBN: 067231763X
Publisher Sams CopyRight 2000



+------------+----------------+------------------------------------------+
   Type         Item            Description
+------------+----------------+------------------------------------------+
  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. This method was added in JavaScript 1.2.
+------------+----------------+------------------------------------------+
               select()         Selects the text in the text area.
+------------+----------------+------------------------------------------+
 Property
+------------+----------------+------------------------------------------+
               defaultValue     Returns the value of this text area defined 
                                between the beginning and ending 'textarea' 
                                tags. This property is not supported by 
                                Opera browsers.
+------------+----------------+------------------------------------------+
               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. This is 
                                always textarea; it was added in JavaScript 1.1.
+------------+----------------+------------------------------------------+
               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
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.