34,333
edits
Changes
→The JavaScript Text Object
* '''name''' - repesents the name by which this object may be reference in JavaScript.
* '''id''' - the id used when accessing Form object elements using the ''getElementById()'' method (decribed later in this chapter)
* '''value''' - primes the text object with an initial value (optional).