I need to make a FOR
with getJSON file. How is the form correct?
selectOcorrencias = $.getJSON("http://izicondominios.com.br/appOperacoes.php?operacao=selectOcorrencias&condominioID=2");
for (seOcor in selectOcorrencias){
document.write(selectOcorrencias[seOcor].ID_Ocorrencia + selectOcorrencias[seOcor].morador + "<br />");
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>