Skip to content

Instantly share code, notes, and snippets.

@roborourke
Created November 1, 2011 12:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roborourke/1330435 to your computer and use it in GitHub Desktop.
Save roborourke/1330435 to your computer and use it in GitHub Desktop.
Reloading Facebook like, Google +1 and Twitter share buttons for content loaded via AJAX
function reload_buttons() {
// facebook buttons
FB.XFBML.parse( document );
// gplus buttons
gapi.plusone.go();
// twitter buttons
twttr.widgets.load();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment