Click to return to the DHTML, HTML     
defaultStatus Property     DEFER Attribute | defer P...     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

defaultValue Property


Sets or retrieves the initial contents of the object.

Syntax

HTMLN/A
Scriptingobject.defaultValue [ = sValue ]

Possible Values

sValueString that specifies the initial value of the object.

The property is read/write with no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see 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.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.