Skip to content

Instantly share code, notes, and snippets.

@krusty
Created February 5, 2013 13:38
Show Gist options
  • Save krusty/4714507 to your computer and use it in GitHub Desktop.
Save krusty/4714507 to your computer and use it in GitHub Desktop.
when and loops
urls.each(function(url) {
$.get(url, function (data) {
$el.data('current-url', url);
$el.html(data);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment