javascript InputTypeCheckbox value
@March 15, 2008, 1:22 a.m.
value | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1 |
Read/Write | |
Provides the current value associated with the form control that is submitted with the name/value pair for the element (if the checkbox is checked). All values are strings, but they may represent other kinds of data, including Boolean and numeric values. |
|
Example | |
document.forms[0].extraPhone.value = "cellPhone"; |
|
Value | |
String. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/inputtypecheckbox-value.aspx
Powered by Linode.