<script type="text/javascript">
$.getScript('http://connect.facebook.net/sv_SE/all.js#xfbml=1', function(){
$('body').append('<div id="fb-root"></div><div class="fb-like" data-href="http://www.google.se" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="verdana"></div>');
});
</script>
No button is showing. Isnt this the correct way to use getScript?
You should load the DIV into the DOM first, then load the script in to parse the DOM objects.