Problem iphone phonegap build

1

Good morning,

To make a query in the external database and obtain and show the results, I do it like this:

<script>
function municipios (){
archivoValidacion = “http://www.appnecrofagas.com/municipios.php?jsoncallback=?”
$.getJSON( archivoValidacion, { })
.done(function(respuestaServer) {

if(respuestaServer.validacion == “ok”){

$(“#municipio”).html(respuestaServer.contra);
}else{

/// ejecutar una conducta cuando la validacion falla
}

})
}
</script>

It works perfectly on both the web and on the Android, but there's no way it works, does anyone know what it might be?

Thank you very much !!

    
asked by Rafael Garcia Sanchez 09.06.2016 в 00:53
source

0 answers