Skip to content

Instantly share code, notes, and snippets.

@NrI3
Created June 13, 2015 17:03
Show Gist options
  • Save NrI3/8da8ed9364946e3cae45 to your computer and use it in GitHub Desktop.
Save NrI3/8da8ed9364946e3cae45 to your computer and use it in GitHub Desktop.
Cargando un objeto json que contiene una lista de imagenes en una sola peticion
$.ajax({
url: "req.php?req=test",
success: function(data) {
global['data'] = data;
console.log('descargo');
i = new Image();
i.src = data.imgList.imagen1;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment