asp.net.ph

Skip Navigation Links

value Property

Language References


Sets or retrieves the value of the object.

Syntax


HTML N/A
Script object.value = sValue ]

Possible Values


sValue String specifying the value of the object.

The property is read/write with no default value.

Example

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>
Applies To

HTMLAREA, TEXTAREA



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note