TextArea type : TextArea « Form Control « JavaScript DHTML






TextArea type

  
    
<html>
<head>
<script language="JavaScript">
function function1() {
    alert("The 'myTextArea' element has a type value of:\n"+myTextArea.type); 
} 
</script>
</head>
<body>
<textarea name="myTextArea" cols="20" rows="8">
</textarea>
<input type="button" value="Click here" onClick="function1();">
</body>
</html>

    
      
        
    
  








Related examples in the same category

1.Textarea rows
2.Is TextArea Multiline
3.TextArea wrap
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