Código:
Por otro lado tengo$.ajax({
type: 'GET',
url: 'http://localhost/json_seccion.php',
dataType: "jsonp",
crossDomain: true,
scriptCharset: 'UTF-8',
cache:false,
success: function(secciones) {
alert(secciones.secciones[0].id_seccion);
},
error:function(error){
alert("error");
}
});
Código:
Se podría hacer usando el metodo POST? gracias a todos. echo ''.$_GET['callback'].'({json generado dinamicamente});


