Language References
Sets or retrieves the value of the object.
HTML |
N/A |
Script |
object.value = sValue ] |
sValue |
String specifying the value of the object. |
The property is read/write with no default value.
When the text area is clicked, the alert displays the value "Assigned Value".
<TEXTAREA onclick="alert ( this.value )">
This is the value of a TEXTAREA.
</TEXTAREA>
HTMLAREA, TEXTAREA