javascript InputTypeCheckbox value

valueNN 2 IE 3 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.


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