Sets or retrieves the initial contents of the object.
Syntax
| JavaScript | |
|---|
Property values
Type: String
the initial value of the object.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
The value of the property can be changed programmatically, but doing so has no effect on the appearance of the object or the submitted value. It does, however, change the initial value of the object when the form is reset.
See also
- input type=button
- input type=checkbox
- input type=file
- input type=hidden
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- textArea
Build date: 11/28/2012