[Chapter 21] Reference: Text.value
Author: David Flanagan
Date: Fri Aug 29 11:20:31 1997

#

| Chapter 21 JavaScript Reference |

# Text.value Property

## Name

Text.value Property---user input to the Text object

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    text.value

## Description

`value` is a read/write string property of the Text object. The initial value of `value` is specified by the `VALUE` attribute of the `<INPUT>` tag that defines the Text object. When the user types characters into the Text object, the `value` property is updated to match the user's input. If you set the `value` property explicitly, the string you specify will be displayed in the Text object. This `value` property contains the string that is sent to the server when the form is submitted.

## See Also

"Text"

Text.type |  | Textarea