You can do this like :
JQuery-
var optionVal = new Array();
$('select option').each(function() {
optionVal.push($(this).val());
});
Javascript-
var x = document.getElementById("mySelect");
var optionVal = new Array();
for (i = 0; i < x.length; i++) {
optionVal.push(x.options[i].text);
}
This stores all the options in your select box in the array optionVal
.
Hope it helps you.