0
The "city" element is a select
so and add html
as he would in an element div
perhaps not the best option, creating the elements option
and add would be more readable:
for(var i = 0; i <= cidades.length; i++){
var selectCidade = document.getElementById("cidade");
var option = document.createElement("option");
option.value = cidades[i];
option.text = cidades[i];
selectCidade.appendChild(option);
}