Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

value attribute | value property

Sets or retrieves the default or selected value of the control.

Syntax

HTML<element value="p" ... >
JavaScript

p = object.value

 

Property values

Type: String

the value for the control.

See also

button

 

 

Show:
© 2017 Microsoft