Skip to content

Instantly share code, notes, and snippets.

@meishern
Created December 15, 2012 22:38
Show Gist options
  • Save meishern/4299982 to your computer and use it in GitHub Desktop.
Save meishern/4299982 to your computer and use it in GitHub Desktop.
jQuery Facebook Like Button XFBML Ajax parser
$(document).ajaxComplete(function(){
try{
FB.XFBML.parse();
}catch(ex){}
});
//ref: http://stackoverflow.com/questions/3548493/how-to-detect-when-facebooks-fb-init-is-complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment