ok so you mean the option value inside an array?
The selected option is found using :
document.formName.elementName.options[document.formName.elementName.selectedIndex]
You can then add that to the end of an array either by using the index of the array :
var myArray = new Array();
myArray[0] = document.formName.elementName.options[document.formName.elementName.selectedIndex]
Or you could use push to add it directly to the end of the array :
var myArray = new Array();
myArray.push(document.formName.elementName.options[document.formName.elementName.selectedIndex])
If what you actually wanted was to add all the values of the combo inside an array you could use a for loop and add the option's value inside the array using push
var formElm = document.formName.elementName.options;
var len = formElm.length;
var myArray = new Array();
for (var i = 0; i < len; i++)
{
myArray.push(formElm
)
}
I hope this helps you out.
Gary Haran