javascript OPTION value
@March 15, 2008, 1:22 a.m.
value | Firefox/Netscape/NN 4 IE 4 Chrome/Safari/DOM 1 |
Read/Write | |
Provides the value associated with the option element. If the option element has a value attribute or value property set, this is the value returned for the value property; otherwise, the property returns an empty string. |
|
Example | |
var itemValue = document.forms[0].selectList.options[2]value; |
|
Value | |
String. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/option-value.aspx
Powered by Linode.