I have to load a few like buttons by Ajax. I am using Jquery and I get the right html text in response. When I do :
$.ajax({
url: "/app/ajax/load.php",
type: "POST",
data: "accessToken="+accessToken,
dataType: "html",
beforeSend: function () {
},
success: function (data, textStatus, xhr) {
$('div#result').html(data);
}
});
The like buttons don't appear. Is there a way to fi that ?
Thank you