var options = document.getElementById('estados').getElementsByTagName('option'); var optionVals = [], i = 0; for (i; i < options.length; i += 1) { optionVals.push(options[i].value); } console.log(optionVals);