Hello,
Alternatively it's jQuery's html parser that messes things up. So if you set the innerhtml manually it'll work fine.
Sou can load it all in using:
$.ajax({
type:"GET",
url: "/my/url",
datatype: 'text',
success: function(html) {
var ele = $('myselector')[0];
ele.innerHTML = html;
FB.XFBML.Host.parseDomElement(ele);
}
});
The only issue with this is that none of the javascript included in the html will be run upon insertion.