TextArea Columns Example : TextArea « Form Control « JavaScript DHTML






TextArea Columns Example

  
    
<html>
<body>
<textarea id="myText" rows="3" cols="15">
</textarea>
<br>
<button onclick="myText.cols=100;">Set width of Textarea to 100</button>
<button onclick="myText.rows=20;">Set height of Textarea to 20</button>
</body>
</html>

    
      
        
    
  








Related examples in the same category

1.Textarea rows
2.Is TextArea Multiline
3.TextArea type
4.TextArea wrap
5.TextArea 'value'
6.Select the text in text area
7.Set TextArea to be Active
8.Auto type textarea
9.Not empty TextArea
10.Methods and Properties of the Textarea Object
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