Hi, is there a callback function (e.g. onComplete) for this? I would like to display a loader.
FB.XFBML.parse()
Hi, is there a callback function (e.g. onComplete) for this? I would like to display a loader.
FB.XFBML.parse()
Yes, the second parameter is the callback function. For example this should work:
FB.XFBML.parse(document.getElementById('some_element'), function() {
alert('I rendered');
});