var thisOptionValue = []; $("#age option").each(function() { thisOptionValue.push($(this).val()); }); console.log(thisOptionValue)