home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

Text.value Property


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


Navigator 2.0, Internet Explorer 3.0




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.

Previous Home Next
Text.type Book Index Textarea

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell