'value' Example : value textarea « Javascript Properties « JavaScript Reference

'value' Example

    
<html>
<head>
<script language="JavaScript">
    function function1() {
        alert(myTextArea.value); 
    }
</script>
</head>
<body onload="function1();">
    <textarea id="myTextArea">textarea value</textarea>
</body>
</html>

    
      
      








Related examples in the same category

1.'value' Syntax and Note
2.'value' is applied to