Sets or retrieves the initial contents of the object.
dhtml语法
HTML | N/A |
---|
Scripting | object.defaultValue [ = sValue ] |
---|
DHTML可能的值
sValue | String that
specifies or receives the initial value of the object. |
The property is read/write.
The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.
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.
是否符合公共标准
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
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 |
|