asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > Abakada DHTML Properties Reference: value Property

value Property


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



Check out related books at Amazon

© 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