javascript Obj_Button value

valueNN 6 IE 4 DOM 1  

Read-only  

Provides the current value associated with the form control that is submitted with the name/value pair for the element. Unlike the button-type input element object, this value property's value is unseen by the user; the label is set by the element's content (innerHTML property or nested node).

 
Example
 
var val = document.getElementById("myButton").value;
 
Value

String.

 
Default

None.


1426,Nickname,Homepage or email,Comments here,Add comment