Ya di con el fallo !!!!!!
Había que cargar FB.XFBML.parse(); luego de actualizar la InnerHTML y yo lo colocaba aparte. El código ajax quedaría así:
Código:
function nuevoAjax(){
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
xmlhttp = new XMLHttpRequest();
}
return xmlhttp;
}
function cargarbio(pagina,destino){
var contenedor;
var ajax;
contenedor = document.getElementById(destino);
ajax = nuevoAjax();
ajax.open("GET", pagina, true);
ajax.onreadystatechange=function() {
if (ajax.readyState==4) {
contenedor.innerHTML = ajax.responseText;
FB.XFBML.parse(document.getElementById('contenido-texto'), function() {
document.getElementById('yourContent').innerHTML += document.getElementById('contenido-texto').innerHTML;
});
}
}
ajax.send(null);
}
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
Marco como solucionado.