Takazudo hamalog

programming notes. mainly about JavaScript / jQuery. [@Takazudo] [takazudo@gmail.com] Hint: alt + /

cool guy

$.fn.initFbComments

2011/08/26 permalink

$.fn.initFbComments appends facebook comments (social plugin) to the page dynamically. I don’t know what does facebook comments’ script do but this worked. I tried dynamic script loading with JQuery’s $.getScript first. But it did not work about this. I found that yepnope’s load method worked so I used that instead. (I don’t know why…)

blog comments powered by Disqus