$.each(cityList, function(i , text){ citySelect.append('<option value="' + text + '">' + text + '</option>'); });