Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

defaultValue Property


Sets or retrieves the initial contents of the object.

Syntax

HTMLN/A
Scriptingobject.defaultValue [ = sValue ]

Possible Values

sValueString 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.

Standards Information

property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

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

     Free Credit Reports | Debt | Coin Community | Mobile Phone | Article submission
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp