Skip to content

Instantly share code, notes, and snippets.

@jpoz
Created March 5, 2010 22:42
Show Gist options
  • Select an option

  • Save jpoz/323255 to your computer and use it in GitHub Desktop.

Select an option

Save jpoz/323255 to your computer and use it in GitHub Desktop.
$.getJSON('buttons.json', function(users) {
var target_div = $('#users');
$.each(users, function(i, user) {
target_div.append(
$.engineer.make('gbutton_link', {
"text":user['name'],
"href":user['website']
})
);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment