Javascript Reference
Categories: Obj_Button

javascript Obj_Button value

@March 15, 2008, 1:22 a.m.
valueFirefox/Netscape/NN 6 IE 4 Chrome/Safari/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.


Powered by Linode.