Windows apps

# value property

Retrieves or sets the text in the entry field of the textArea element.

## Syntax

JavaScript `p = object.value`

## Property values

Type: String

the text in the entry field of the element.

## Remarks

Setting this property replaces any existing text in the element.

## Examples

In this example, when the user clicks the text area, the alert displays the value "This is the value of a textarea".

```
This is the value of a textarea.
</textarea>

```