var mas = []; for (i = 0; i < mySelect.options.length; i++) { if (mySelect.options[i].selected) mas[mas.length] = mySelect.options[i].value; }