http://www.----------.com/array.php
-------------------
Cita:
<?php
$data[0] = array(
"Version" => "34",
"News" => "Si",
"Socio" => "0",
"Licencia" => "1"
);
echo json_encode($data);
?>
$data[0] = array(
"Version" => "34",
"News" => "Si",
"Socio" => "0",
"Licencia" => "1"
);
echo json_encode($data);
?>
procesa.php
---------------
Cita:
No muestra el alert. Si alguien me da un mano, se los voy a agradecer.jQuery.getJSON('http://www.-------------.com/array.php',
function(data){
JQuery.each(data, function(){
alert( this.Licencia );
});
});
function(data){
JQuery.each(data, function(){
alert( this.Licencia );
});
});
Sdos.