TextArea wrap : TextArea « Form Control « JavaScript DHTML






TextArea wrap

  
    
<html>
<body>
<textarea id="myTextArea1" rows="4">Long text Long text Long text </textarea>
<textarea id="myTextArea2" rows="4">Long text Long text Long text </textarea>
<textarea id="myTextArea3" rows="4">Long text Long text Long text </textarea>
<script language="JavaScript">
document.all.myTextArea1.wrap = "soft";
document.all.myTextArea2.wrap = "hard";
document.all.myTextArea3.wrap = "off";
</script>
</body>
</html>

    
      
        
    
  








Related examples in the same category

1.Textarea rows
2.Is TextArea Multiline
3.TextArea type
4.TextArea Columns Example
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