javascript Obj_Button value
@March 15, 2008, 1:22 a.m.
value | Firefox/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. |
Permanent URL:
http://javascript.gakaa.com/obj-1-button-value.aspx
Powered by Linode.