Name
value — NN 2 IE 3 DOM 1
Synopsis
Read/Write
This is the rare time that the value
property
controls the label of a form control: the text that appears on the
button. A button input element is not submitted with the form.
Example
document.forms[0].myButton.value = "Undo"
Value
String.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.