JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

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"


Previous Home Next
Text.type Book Index Textarea

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
This HTML Help has been published using the chm2web software.