tags:

views:

59

answers:

1

Hi, is there a callback function (e.g. onComplete) for this? I would like to display a loader.

FB.XFBML.parse()
+1  A: 

Yes, the second parameter is the callback function. For example this should work:

FB.XFBML.parse(document.getElementById('some_element'), function() {
    alert('I rendered');
});
jcmoney