Timeline for Facebook Like Button Disabled when requested from AJAX
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 29, 2013 at 5:13 | vote | accept | vs7 | ||
| Nov 29, 2013 at 5:13 | answer | added | Ravi Kumar | timeline score: 1 | |
| Nov 29, 2013 at 5:03 | comment | added | Ravi Kumar | You have to use this to parse the Social Plugins, right after loading the AJAX content: developers.facebook.com/docs/reference/javascript/… FB.XFBML.parse(); Make sure the JavaScript SDK is loaded before using AJAX, it´s best to use this code: developers.facebook.com/docs/reference/javascript Right where it says "Additional initialization code" you can use AJAX, that´s when the JavaScript SDK will be loaded. | |
| Nov 29, 2013 at 4:59 | comment | added | vs7 | but how as its coming from ajax | |
| Nov 29, 2013 at 4:58 | comment | added | Ravi Kumar | you should initiate the fb like button after the new data render on the page. You have to use this to parse the Social Plugins, right after loading the AJAX content: | |
| Nov 29, 2013 at 4:57 | history | asked | vs7 | CC BY-SA 3.0 |