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 submit button.

Example

document.forms[0].mySubmit.value = "Send"

Value

String.

Default

Submit

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.