Timeline for Facebook like button not displaying after refreshing a div by using load();
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 20, 2012 at 6:57 | comment | added | Tasos Bitsios | (Just brainstorming here) try calling FB.init() inside .load's callback, and see what happens. | |
| Sep 16, 2012 at 18:57 | comment | added | dbf | and how does the function nextPost() get called? In $(document).ready() or equivalent? | |
| Sep 16, 2012 at 17:12 | comment | added | Edvinas Vor Paulauskas | I've just tried this on the website. It seems to break the button I use to randomize the post completely. The code i use is: function nextPost() { $('#myDiv').fadeIn('300', function() { $(this).load('randompost.php', function() { $(this).fadeIn('300'); }) }); } | |
| Sep 16, 2012 at 13:59 | history | answered | dbf | CC BY-SA 3.0 |